vendorcode/amd/cimx/sb*: Rename RSDP header
Rename RSDP to RSDP_HEADER to match other AMD vendorcode and to not pollute the namespace. We will use RSDP in a future patch. Change-Id: I3b66135ae1732b86b5ebfcdc01a850a0d9d3eb50 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/28294 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
56508967d8
commit
f2592f9bce
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue