aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2021-05-30 23:21:31 +0000
committerColin Percival <cperciva@FreeBSD.org>2021-06-21 03:09:44 +0000
commitc4b65e954f0f4754941f5b37436231f611b76d67 (patch)
tree6918c8c40bb16d46b376bcd85a7051a953dbec94
parentc8dfc327db2373c721a35efe857cf07262fd7dd0 (diff)
i386/loader: Call tslog_init
This allows the i386 loader to start recording timestamps. Reviewed by: kevans
-rw-r--r--stand/i386/loader/main.c6
1 files changed, 6 insertions, 0 deletions
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
@@ -131,6 +131,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.
*/