summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vendorcode/amd/cimx/sb800/ACPILIB.c2
-rw-r--r--src/vendorcode/amd/cimx/sb800/ACPILIB.h2
-rw-r--r--src/vendorcode/amd/cimx/sb900/AcpiLib.c2
-rw-r--r--src/vendorcode/amd/cimx/sb900/AcpiLib.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/vendorcode/amd/cimx/sb800/ACPILIB.c b/src/vendorcode/amd/cimx/sb800/ACPILIB.c
index bc11209f6b..e112fe814c 100644
--- a/src/vendorcode/amd/cimx/sb800/ACPILIB.c
+++ b/src/vendorcode/amd/cimx/sb800/ACPILIB.c
@@ -63,7 +63,7 @@ ACPI_LocateTable (
Rsdt = NULL;
do {
if ( *RsdPtr == Int32FromChar('R', 'S', 'D', ' ') && *(RsdPtr + 1) == Int32FromChar('P', 'T', 'R', ' ')) {
- Rsdt = (UINT32*) (UINTN) ((RSDP*)RsdPtr)->RsdtAddress;
+ Rsdt = (UINT32*) (UINTN) ((RSDP_HEADER*)RsdPtr)->RsdtAddress;
break;
}
RsdPtr += 4;
diff --git a/src/vendorcode/amd/cimx/sb800/ACPILIB.h b/src/vendorcode/amd/cimx/sb800/ACPILIB.h
index 73571f4273..442043a4fb 100644
--- a/src/vendorcode/amd/cimx/sb800/ACPILIB.h
+++ b/src/vendorcode/amd/cimx/sb800/ACPILIB.h
@@ -44,7 +44,7 @@ typedef struct _RSDP
unsigned long long XsdtAddress; /* physical address of XSDT */
unsigned char ExtendedChecksum; /* chechsum of whole table */
unsigned char Reserved[3];
-} RSDP;
+} RSDP_HEADER;
/**
diff --git a/src/vendorcode/amd/cimx/sb900/AcpiLib.c b/src/vendorcode/amd/cimx/sb900/AcpiLib.c
index 2b8a38961b..845b34df12 100644
--- a/src/vendorcode/amd/cimx/sb900/AcpiLib.c
+++ b/src/vendorcode/amd/cimx/sb900/AcpiLib.c
@@ -61,7 +61,7 @@ ACPI_LocateTable (
// if ( *RsdPtr == ' DSR' && *(RsdPtr + 1) == ' RTP' ) {
// if ( (*RsdPtr == 0x52534420) && (*(RsdPtr + 1) == 0x50545220) ) {
if ( (*RsdPtr == 0x20445352) && (*(RsdPtr + 1) == 0x20525450) ) {
- Rsdt = (UINT32*) (UINTN) ((RSDP*)RsdPtr)->RsdtAddress;
+ Rsdt = (UINT32*) (UINTN) ((RSDP_HEADER*)RsdPtr)->RsdtAddress;
break;
}
RsdPtr += 4;
diff --git a/src/vendorcode/amd/cimx/sb900/AcpiLib.h b/src/vendorcode/amd/cimx/sb900/AcpiLib.h
index 63913c22e1..c604023736 100644
--- a/src/vendorcode/amd/cimx/sb900/AcpiLib.h
+++ b/src/vendorcode/amd/cimx/sb900/AcpiLib.h
@@ -40,7 +40,7 @@ typedef struct _RSDP {
unsigned long long XsdtAddress; ///< physical address of XSDT
unsigned char ExtendedChecksum; ///< chechsum of whole table
unsigned char Reserved[3]; ///< Reserved
-} RSDP;
+} RSDP_HEADER;
/// DESCRIPTION_HEADER - ACPI common table header