Rename AcGetAcpiTable() to AcGetAcpiDescriptionPointer()

This commit is contained in:
Rafal Kupiec 2024-02-02 22:04:58 +01:00
parent 58a1fef3ad
commit 082568ae10
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
3 changed files with 7 additions and 7 deletions

View File

@ -100,7 +100,7 @@ typedef VOID (*PBL_XT_BOOT_MENU)();
typedef VOID (XTAPI *PBL_ZERO_MEMORY)(OUT PVOID Destination, IN SIZE_T Length); typedef VOID (XTAPI *PBL_ZERO_MEMORY)(OUT PVOID Destination, IN SIZE_T Length);
/* Module protocols routine pointers */ /* Module protocols routine pointers */
typedef EFI_STATUS (*PBL_ACPI_GET_ACPI_TABLE)(OUT PVOID *AcpiTable); typedef EFI_STATUS (*PBL_ACPI_GET_ACPI_DESCRIPTION_POINTER)(OUT PVOID *AcpiTable);
typedef EFI_STATUS (*PBL_ACPI_GET_RSDP_TABLE)(OUT PVOID *AcpiTable); typedef EFI_STATUS (*PBL_ACPI_GET_RSDP_TABLE)(OUT PVOID *AcpiTable);
typedef EFI_STATUS (*PBL_ACPI_GET_XSDP_TABLE)(OUT PVOID *AcpiTable); typedef EFI_STATUS (*PBL_ACPI_GET_XSDP_TABLE)(OUT PVOID *AcpiTable);
typedef EFI_STATUS (*PBL_BOOTPROTO_BOOT_SYSTEM)(IN PXTBL_BOOT_PARAMETERS Parameters); typedef EFI_STATUS (*PBL_BOOTPROTO_BOOT_SYSTEM)(IN PXTBL_BOOT_PARAMETERS Parameters);
@ -257,7 +257,7 @@ typedef struct _XTBL_FRAMEBUFFER_INFORMATION
/* XTLDR ACPI protocol structure */ /* XTLDR ACPI protocol structure */
typedef struct _XTBL_ACPI_PROTOCOL typedef struct _XTBL_ACPI_PROTOCOL
{ {
PBL_ACPI_GET_ACPI_TABLE GetAcpiTable; PBL_ACPI_GET_ACPI_DESCRIPTION_POINTER GetAcpiDescriptionPointer;
PBL_ACPI_GET_RSDP_TABLE GetRsdpTable; PBL_ACPI_GET_RSDP_TABLE GetRsdpTable;
PBL_ACPI_GET_XSDP_TABLE GetXsdpTable; PBL_ACPI_GET_XSDP_TABLE GetXsdpTable;
} XTBL_ACPI_PROTOCOL, *PXTBL_ACPI_PROTOCOL; } XTBL_ACPI_PROTOCOL, *PXTBL_ACPI_PROTOCOL;

View File

@ -24,7 +24,7 @@ XTBL_MODINFO = L"ACPI support";
*/ */
XTCDECL XTCDECL
EFI_STATUS EFI_STATUS
AcGetAcpiTable(OUT PVOID *AcpiTable) AcGetAcpiDescriptionPointer(OUT PVOID *AcpiTable)
{ {
PVOID Rsdp; PVOID Rsdp;
@ -126,7 +126,7 @@ AcGetXsdpTable(OUT PVOID *AcpiTable)
XTCDECL XTCDECL
UCHAR UCHAR
AcpChecksumTable(IN PVOID Buffer, AcpChecksumTable(IN PVOID Buffer,
IN UINT_PTR Size) IN UINT_PTR Size)
{ {
PUCHAR Pointer; PUCHAR Pointer;
UCHAR Sum; UCHAR Sum;
@ -177,7 +177,7 @@ XtLdrModuleMain(IN EFI_HANDLE ImageHandle,
} }
/* Set routines available via ACPI protocol */ /* Set routines available via ACPI protocol */
AcpAcpiProtocol.GetAcpiTable = AcGetAcpiTable; AcpAcpiProtocol.GetAcpiDescriptionPointer = AcGetAcpiDescriptionPointer;
AcpAcpiProtocol.GetRsdpTable = AcGetRsdpTable; AcpAcpiProtocol.GetRsdpTable = AcGetRsdpTable;
AcpAcpiProtocol.GetXsdpTable = AcGetXsdpTable; AcpAcpiProtocol.GetXsdpTable = AcGetXsdpTable;

View File

@ -16,7 +16,7 @@
/* ACPI module routines forward references */ /* ACPI module routines forward references */
XTCDECL XTCDECL
EFI_STATUS EFI_STATUS
AcGetAcpiTable(OUT PVOID *AcpiTable); AcGetAcpiDescriptionPointer(OUT PVOID *AcpiTable);
XTCDECL XTCDECL
EFI_STATUS EFI_STATUS
@ -29,7 +29,7 @@ AcGetXsdpTable(OUT PVOID *AcpiTable);
XTCDECL XTCDECL
UCHAR UCHAR
AcpChecksumTable(IN PVOID Buffer, AcpChecksumTable(IN PVOID Buffer,
IN UINT_PTR Size); IN UINT_PTR Size);
XTCDECL XTCDECL
EFI_STATUS EFI_STATUS