mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 23:24:03 +02:00
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.guo@linaro.org> Reviewed-by: "Jiewen Yao" <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18782 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
116cd8563c
commit
c374aa43a1
@ -2,7 +2,7 @@
|
|||||||
ACPI Serial Port Console Redirection Table as defined by Microsoft in
|
ACPI Serial Port Console Redirection Table as defined by Microsoft in
|
||||||
http://www.microsoft.com/whdc/system/platform/server/spcr.mspx
|
http://www.microsoft.com/whdc/system/platform/server/spcr.mspx
|
||||||
|
|
||||||
Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -26,7 +26,7 @@
|
|||||||
///
|
///
|
||||||
/// SPCR Revision (defined in spec)
|
/// 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
|
/// Serial Port Console Redirection Table Format
|
||||||
@ -44,7 +44,7 @@ typedef struct {
|
|||||||
UINT8 StopBits;
|
UINT8 StopBits;
|
||||||
UINT8 FlowControl;
|
UINT8 FlowControl;
|
||||||
UINT8 TerminalType;
|
UINT8 TerminalType;
|
||||||
UINT8 Language;
|
UINT8 Reserved2;
|
||||||
UINT16 PciDeviceId;
|
UINT16 PciDeviceId;
|
||||||
UINT16 PciVendorId;
|
UINT16 PciVendorId;
|
||||||
UINT8 PciBusNumber;
|
UINT8 PciBusNumber;
|
||||||
@ -52,7 +52,7 @@ typedef struct {
|
|||||||
UINT8 PciFunctionNumber;
|
UINT8 PciFunctionNumber;
|
||||||
UINT32 PciFlags;
|
UINT32 PciFlags;
|
||||||
UINT8 PciSegment;
|
UINT8 PciSegment;
|
||||||
UINT32 Reserved2;
|
UINT32 Reserved3;
|
||||||
} EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE;
|
} EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE;
|
||||||
|
|
||||||
#pragma pack()
|
#pragma pack()
|
||||||
@ -90,6 +90,10 @@ typedef struct {
|
|||||||
/// I/O SAPIC interrupt (Global System Interrupt)
|
/// I/O SAPIC interrupt (Global System Interrupt)
|
||||||
///
|
///
|
||||||
#define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERRUPT_TYPE_SAPIC 0x4
|
#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
|
// Baud Rate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user