Implemented ACPI Table protocol
This commit is contained in:
parent
330af730eb
commit
b556021507
2 changed files with 34 additions and 0 deletions
1
efi.h
1
efi.h
|
@ -17,6 +17,7 @@ typedef struct {
|
|||
#include "efi_rs.h"
|
||||
#include "efi_bs.h"
|
||||
|
||||
#include "protocols/acpi.h"
|
||||
#include "protocols/boot_manager_policy.h"
|
||||
#include "protocols/console_support.h"
|
||||
#include "protocols/device_path.h"
|
||||
|
|
33
protocols/acpi.h
Normal file
33
protocols/acpi.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
#ifndef EFI_PROTOCOLS_ACPI_H
|
||||
#define EFI_PROTOCOLS_ACPI_H
|
||||
|
||||
////
|
||||
// ACPI Table Protocol
|
||||
///
|
||||
|
||||
#define EFI_ACPI_TABLE_PROTOCOL_GUID {0xffe06bdd,0x6107,0x46a6, {0x7b,0xb2,0x5a,0x9c,0x7e,0xc5,0x27,0x5c}}
|
||||
|
||||
typedef struct _EFI_ACPI_TABLE_PROTOCOL EFI_ACPI_TABLE_PROTOCOL;
|
||||
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_ACPI_TABLE_INSTALL_ACPI_TABLE)(
|
||||
IN EFI_ACPI_TABLE_PROTOCOL *This,
|
||||
IN VOID *AcpiTableBuffer,
|
||||
IN UINTN AcpiTableBufferSize,
|
||||
OUT UINTN *TableKey
|
||||
);
|
||||
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *EFI_ACPI_TABLE_UNINSTALL_ACPI_TABLE)(
|
||||
IN EFI_ACPI_TABLE_PROTOCOL *This,
|
||||
IN UINTN TableKey
|
||||
);
|
||||
|
||||
typedef struct _EFI_ACPI_TABLE_PROTOCOL {
|
||||
EFI_ACPI_TABLE_INSTALL_ACPI_TABLE InstallAcpiTable;
|
||||
EFI_ACPI_TABLE_UNINSTALL_ACPI_TABLE UninstallAcpiTable;
|
||||
} EFI_ACPI_TABLE_PROTOCOL;
|
||||
|
||||
#endif /* EFI_PROTOCOLS_ACPI_H */
|
Loading…
Add table
Add a link
Reference in a new issue