grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Additional EFI definitions


From: Alexandre Boeglin
Subject: Additional EFI definitions
Date: Sat, 1 Dec 2007 15:33:46 +0100
User-agent: RoundCube Webmail/0.1

Hi,

Here are a few headers for the DXE service table, firmware volume protocol
and legacy bios protocol (this one currently misses the
grub_efi_ia32_register_set structure).

I'm posting them here, so that if someone wants to play with these parts of
EFI, he/she does not have to duplicate the effort.

I'll repost them as a patch once I get a use of them, as I'm not sure if
100% EFI support is exactly one of grub's goals.

If someone wants to review them, the specs are available at
http://www.intel.com/technology/framework/download.htm

Also, enabling legacy bios protocol in Apple EFI depends on a few drivers
that need to be scheduled and dispatched using dxe table functions. On my
machine (mac pro 1.1), the GUIDs of these drivers are:
  {0x6229630c, 0x32c3, 0x4638, {0x80, 0x91, 0x83, 0x8d, 0x98, 0x5d, 0xfa,
0x82}},
  {0x5479662b, 0x6ae4, 0x49e8, {0xa6, 0xbd, 0x6d, 0xe4, 0xb6, 0x25, 0x81,
0x1f}},
  {0xf122a15c, 0xc10b, 0x4d54, {0x8f, 0x48, 0x60, 0xf4, 0xf0, 0x6d, 0xd1,
0xad}},
  {0xbc6d08dc, 0x865d, 0x4ffe, {0x8b, 0x7a, 0xfb, 0x5f, 0xb0, 0x4f, 0x12,
0xf1}},
  {0xd3709bb4, 0xb194, 0x4b71, {0xb9, 0xc0, 0xdb, 0xd8, 0xd2, 0xda, 0x97,
0xad}},
  {0x208117f2, 0x25f8, 0x479d, {0xb7, 0x26, 0x10, 0xc1, 0xb, 0xed, 0x6d,
0xc1}},
  {0xef33c296, 0xf64c, 0x4146, {0xad, 0x4, 0x34, 0x78, 0x99, 0x70, 0x2c,
0x84}},
  {0x1f36527e, 0xa97c, 0x45f8, {0xb2, 0x4a, 0x9d, 0x95, 0xb0, 0xa9, 0x40,
0xfe}},
  {0x9f2a114a, 0x834b, 0x4916, {0x94, 0x5c, 0x1c, 0x9, 0xf4, 0x94, 0x48,
0x19}},
  {0x29cf55f8, 0xb675, 0x4f5d, {0x8f, 0x2f, 0xb8, 0x7a, 0x3e, 0xcf, 0xd0,
0x63}}

Then, chainloading to a legacy bios bootloader should be as easy as calling
the legacy_boot function form the legacy bios protocol. This is what I'll
try now ...

Regards,
Alex

Attachment: dxe.h
Description: Text Data

Attachment: firmware_volume.h
Description: Text Data

Attachment: legacy_bios.h
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]