i386/loader: Call tslog_init

This allows the i386 loader to start recording timestamps.

Reviewed by:	kevans
This commit is contained in:
Colin Percival 2021-05-30 23:21:31 +00:00
parent c8dfc327db
commit c4b65e954f

View File

@ -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.