* grub-core/loader/i386/bsd.c (grub_netbsd_boot): Pass pointer to

EFI system table.
This commit is contained in:
Stephane Rochoy authored and Vladimir Serbinenko committed 2014-06-22 01:35:52 +02:00
1 parent 3f3ec8ef44
commit 15bd333e10
3 files changed
+20

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
2014-06-21 Stephane Rochoy <sheda>
* grub-core/loader/i386/bsd.c (grub_netbsd_boot): Pass pointer to
EFI system table.
2014-06-21 Stephane Rochoy <sheda> 2014-06-21 Stephane Rochoy <sheda>
* grub-core/commands/efi/lsefisystab.c (grub_cmd_lsefisystab): Show * grub-core/commands/efi/lsefisystab.c (grub_cmd_lsefisystab): Show
+8
View File
@@ -1145,6 +1145,14 @@ grub_netbsd_boot (void)
if (err) if (err)
return err; return err;
#ifdef GRUB_MACHINE_EFI
err = grub_bsd_add_meta (NETBSD_BTINFO_EFI,
&grub_efi_system_table,
sizeof (grub_efi_system_table));
if (err)
return err;
#endif
{ {
struct bsd_tag *tag; struct bsd_tag *tag;
tag_buf_len = 0; tag_buf_len = 0;
+7
View File
@@ -58,6 +58,8 @@
#define NETBSD_BTINFO_BOOTWEDGE 10 #define NETBSD_BTINFO_BOOTWEDGE 10
#define NETBSD_BTINFO_MODULES 11 #define NETBSD_BTINFO_MODULES 11
#define NETBSD_BTINFO_FRAMEBUF 12 #define NETBSD_BTINFO_FRAMEBUF 12
#define NETBSD_BTINFO_USERCONFCOMMANDS 13
#define NETBSD_BTINFO_EFI 14
struct grub_netbsd_bootinfo struct grub_netbsd_bootinfo
{ {
@@ -146,4 +148,9 @@ struct grub_netbsd_btinfo_framebuf
#define GRUB_NETBSD_MAX_ROOTDEVICE_LEN 16 #define GRUB_NETBSD_MAX_ROOTDEVICE_LEN 16
struct grub_netbsd_btinfo_efi
{
void *pa_systbl; /* Physical address of the EFI System Table */
};
#endif #endif