Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163426442
D57710.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
973 B
Referenced Files
None
Subscribers
None
D57710.diff
View Options
diff --git a/sys/dev/efidev/efirt.c b/sys/dev/efidev/efirt.c
--- a/sys/dev/efidev/efirt.c
+++ b/sys/dev/efidev/efirt.c
@@ -234,6 +234,8 @@
return (ENXIO);
}
+ rtdm = efi_phys_to_kva((uintptr_t)efi_runtime);
+
#if defined(__aarch64__) || defined(__amd64__)
/*
* Some UEFI implementations have multiple implementations of the
@@ -243,7 +245,6 @@
* with an old loader.efi, check if the RS->GetTime function is within
* the EFI map, and fail to attach if not.
*/
- rtdm = efi_phys_to_kva((uintptr_t)efi_runtime);
if (rtdm == NULL || !efi_is_in_map(map, ndesc, efihdr->descriptor_size,
(vm_offset_t)rtdm->rt_gettime)) {
if (bootverbose)
@@ -255,6 +256,12 @@
}
#endif
+ if (bootverbose) {
+ printf("EFI runtime driver, fw spec %d.%d.%d\n",
+ rtdm->rt_hdr.th_rev >> 16,
+ (rtdm->rt_hdr.th_rev >> 4) & 0xf,
+ rtdm->rt_hdr.th_rev & 0xf);
+ }
/*
* We use SHUTDOWN_PRI_LAST - 1 to trigger after IPMI, but before ACPI.
*/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 24, 2:55 AM (6 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34150945
Default Alt Text
D57710.diff (973 B)
Attached To
Mode
D57710: efirt: in verbose mode, announce the attachment and fw spec version
Attached
Detach File
Event Timeline
Log In to Comment