git: f49381ccb6bc - main - efi/loader: Call tslog_init

Colin Percival cperciva at FreeBSD.org
Mon Jun 21 03:29:11 UTC 2021


The branch main has been updated by cperciva:

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

commit f49381ccb6bc8a5733f1aa505e716eddae299986
Author:     Colin Percival <cperciva at FreeBSD.org>
AuthorDate: 2021-06-21 01:31:27 +0000
Commit:     Colin Percival <cperciva at FreeBSD.org>
CommitDate: 2021-06-21 03:09:45 +0000

    efi/loader: Call tslog_init
    
    This allows the EFI loader to start recording timestamps.
---
 stand/efi/loader/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
index ae32960e4049..d46f3f4161b1 100644
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -927,6 +927,8 @@ main(int argc, CHAR16 *argv[])
 	char buf[32];
 	bool uefi_boot_mgr;
 
+	tslog_init();
+
 	archsw.arch_autoload = efi_autoload;
 	archsw.arch_getdev = efi_getdev;
 	archsw.arch_copyin = efi_copyin;


More information about the dev-commits-src-all mailing list