git: c4b65e954f0f - main - i386/loader: Call tslog_init
Colin Percival
cperciva at FreeBSD.org
Mon Jun 21 03:29:10 UTC 2021
The branch main has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=c4b65e954f0f4754941f5b37436231f611b76d67
commit c4b65e954f0f4754941f5b37436231f611b76d67
Author: Colin Percival <cperciva at FreeBSD.org>
AuthorDate: 2021-05-30 23:21:31 +0000
Commit: Colin Percival <cperciva at 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.
More information about the dev-commits-src-all
mailing list