Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143789905
D28936.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
898 B
Referenced Files
None
Subscribers
None
D28936.diff
View Options
diff --git a/stand/efi/loader/bootinfo.c b/stand/efi/loader/bootinfo.c
--- a/stand/efi/loader/bootinfo.c
+++ b/stand/efi/loader/bootinfo.c
@@ -299,6 +299,9 @@
bool do_vmap;
#if defined(__amd64__) || defined(__aarch64__)
+static void
+bi_load_efifb(struct preloaded_file *kfp)
+{
struct efi_fb efifb;
efifb.fb_addr = gfx_state.tg_fb.fb_addr;
@@ -321,6 +324,25 @@
if (efifb.fb_addr != 0)
file_addmetadata(kfp, MODINFOMD_EFI_FB, sizeof(efifb), &efifb);
+}
+#endif
+
+static int
+bi_load_efi_data(struct preloaded_file *kfp, bool exit_bs)
+{
+ EFI_MEMORY_DESCRIPTOR *mm;
+ EFI_PHYSICAL_ADDRESS addr = 0;
+ EFI_STATUS status;
+ const char *efi_novmap;
+ size_t efisz;
+ UINTN efi_mapkey;
+ UINTN dsz, pages, retry, sz;
+ UINT32 mmver;
+ struct efi_map_header *efihdr;
+ bool do_vmap;
+
+#if defined(__amd64__) || defined(__aarch64__)
+ bi_load_efifb(kfp);
#endif
do_vmap = true;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 1:33 PM (7 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28378004
Default Alt Text
D28936.diff (898 B)
Attached To
Mode
D28936: Split out the loader efifb setup to a new function
Attached
Detach File
Event Timeline
Log In to Comment