Commit c4b65e95 authored by Colin Percival's avatar Colin Percival
Browse files

i386/loader: Call tslog_init

This allows the i386 loader to start recording timestamps.

Reviewed by:	kevans
parent c8dfc327
...@@ -130,6 +130,12 @@ main(void) ...@@ -130,6 +130,12 @@ main(void)
} }
setheap(heap_bottom, heap_top); 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 * detect ACPI for future reference. This may set console to comconsole
* if we do have ACPI SPCR table. * if we do have ACPI SPCR table.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment