From 2a3926dadc671513d0792e5a45d4e16ca3ee4567 Mon Sep 17 00:00:00 2001 From: Sarah Walker Date: Fri, 14 Mar 2025 15:18:15 +0000 Subject: [PATCH] MdePkg: IndustryStandard: Rename ACPI SPCR revision 4 structure The structure for the SPCR revision 4 table was originally named EFI_ACPI_4_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE. This prefix suggests it is an ACPI 4.0 structure, which it is not. This could cause confusion with genuine ACPI 4.0 structures and defines (eg EFI_ACPI_4_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_SIGNATURE, which is unrelated to SPCR revision 4). Rename the structure to EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_4. Signed-off-by: Sarah Walker --- .../IndustryStandard/SerialPortConsoleRedirectionTable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h index bf967880ab..13c6e47fa4 100644 --- a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h +++ b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h @@ -23,7 +23,7 @@ /// #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION 0x02 -#define EFI_ACPI_4_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION 0x04 +#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION_4 0x04 /// /// Serial Port Console Redirection Table Format /// @@ -80,7 +80,7 @@ typedef struct { UINT16 NameSpaceStrLength; UINT16 NameSpaceStrOffset; CHAR8 NameSpaceString[0]; -} EFI_ACPI_4_0_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE; +} EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_4; #pragma pack()