Update SPCR table definition per SPCR specification v1.03.
Document link:
http://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi....@linaro.org>
Reviewed-by: Jiewen Yao <jiewen....@intel.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Liming Gao <liming....@intel.com>
Cc: Jiewen Yao <jiewen....@intel.com>
---
 .../IndustryStandard/SerialPortConsoleRedirectionTable.h       | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git 
a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h 
b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h
index 74ea5b3..b32e063 100644
--- a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h
+++ b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h
@@ -26,7 +26,7 @@
 ///
 /// SPCR Revision (defined in spec)
 ///
-#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION 0x01
+#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION 0x02
 
 ///
 /// Serial Port Console Redirection Table Format
@@ -44,7 +44,7 @@ typedef struct {
   UINT8                                   StopBits;
   UINT8                                   FlowControl;
   UINT8                                   TerminalType;
-  UINT8                                   Language;
+  UINT8                                   Reserved2;
   UINT16                                  PciDeviceId;
   UINT16                                  PciVendorId;
   UINT8                                   PciBusNumber;
@@ -52,7 +52,7 @@ typedef struct {
   UINT8                                   PciFunctionNumber;
   UINT32                                  PciFlags;
   UINT8                                   PciSegment;
-  UINT32                                  Reserved2;
+  UINT32                                  Reserved3;
 } EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE;
 
 #pragma pack()
@@ -90,6 +90,10 @@ typedef struct {
 /// I/O SAPIC interrupt (Global System Interrupt)
 ///
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERRUPT_TYPE_SAPIC   
0x4
+///
+/// ARMH GIC interrupt (Global System Interrupt)
+///
+#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERRUPT_TYPE_GIC     
0x8
 
 //
 // Baud Rate
-- 
2.6.2

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to