The branch main has been updated by cperciva:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=c4b65e954f0f4754941f5b37436231f611b76d67

commit c4b65e954f0f4754941f5b37436231f611b76d67
Author:     Colin Percival <cperc...@freebsd.org>
AuthorDate: 2021-05-30 23:21:31 +0000
Commit:     Colin Percival <cperc...@freebsd.org>
CommitDate: 2021-06-21 03:09:44 +0000

    i386/loader: Call tslog_init
    
    This allows the i386 loader to start recording timestamps.
    
    Reviewed by:    kevans
---
 stand/i386/loader/main.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/stand/i386/loader/main.c b/stand/i386/loader/main.c
index a595340d3a13..6b81ef411f7f 100644
--- a/stand/i386/loader/main.c
+++ b/stand/i386/loader/main.c
@@ -130,6 +130,12 @@ main(void)
        }
        setheap(heap_bottom, heap_top);
 
+       /*
+        * Now that malloc is usable, allocate a buffer for tslog and start
+        * logging timestamps during the boot process.
+        */
+       tslog_init();
+
        /*
         * detect ACPI for future reference. This may set console to comconsole
         * if we do have ACPI SPCR table.
_______________________________________________
dev-commits-src-main@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"

Reply via email to