Don't use standard integer type names

This commit is contained in:
Jozef Nagy 2024-07-08 20:57:58 +02:00
parent fd21dfd54b
commit edc45f0abb
No known key found for this signature in database
GPG key ID: 5B49DC29F09685D6
3 changed files with 55 additions and 22 deletions

33
protocols/acpi_table.h Normal file
View 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 */