mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
efi_loader: Install ACPI configuration tables
ACPI tables can be passed via EFI configuration table to an EFI application. This is only supported on x86 so far. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -282,6 +282,10 @@ struct efi_runtime_services {
|
||||
EFI_GUID(0xb1b621d5, 0xf19c, 0x41a5, \
|
||||
0x83, 0x0b, 0xd9, 0x15, 0x2c, 0x69, 0xaa, 0xe0)
|
||||
|
||||
#define EFI_ACPI_TABLE_GUID \
|
||||
EFI_GUID(0x8868e871, 0xe4f1, 0x11d3, \
|
||||
0xbc, 0x22, 0x00, 0x80, 0xc7, 0x3c, 0x88, 0x81)
|
||||
|
||||
#define SMBIOS_TABLE_GUID \
|
||||
EFI_GUID(0xeb9d2d31, 0x2d88, 0x11d3, \
|
||||
0x9a, 0x16, 0x00, 0x90, 0x27, 0x3f, 0xc1, 0x4d)
|
||||
|
||||
@@ -214,6 +214,14 @@ efi_status_t efi_net_register(void);
|
||||
/* Called by bootefi to make the watchdog available */
|
||||
efi_status_t efi_watchdog_register(void);
|
||||
/* Called by bootefi to make SMBIOS tables available */
|
||||
/**
|
||||
* efi_acpi_register() - write out ACPI tables
|
||||
*
|
||||
* Called by bootefi to make ACPI tables available
|
||||
*
|
||||
* @return 0 if OK, -ENOMEM if no memory is available for the tables
|
||||
*/
|
||||
efi_status_t efi_acpi_register(void);
|
||||
/**
|
||||
* efi_smbios_register() - write out SMBIOS tables
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user