]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h
Update the copyright notice format
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / SerialPortConsoleRedirectionTable.h
index 9162169f0c2c597974dbe24da4fe9f7c05bd56a6..f76f733511048ebc4be589f9eebf8547a199a3d6 100644 (file)
@@ -1,9 +1,9 @@
-/**@file\r
+/** @file\r
   ACPI Serial Port Console Redirection Table as defined by Microsoft in\r
   http://www.microsoft.com/whdc/system/platform/server/spcr.mspx\r
     \r
-  Copyright (c) 2007, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
   http://opensource.org/licenses/bsd-license.php                                            \r
 #ifndef _SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_H_\r
 #define _SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_H_\r
 \r
-//\r
-// Include files\r
-//\r
-#include "Acpi2_0.h"\r
+\r
+#include <IndustryStandard/Acpi.h>\r
 \r
 //\r
 // Ensure proper structure formats\r
 //\r
-#ifdef _MSC_EXTENSIONS\r
 #pragma pack(1)\r
-#endif\r
 \r
-//\r
-// SPCR Revision (defined in spec)\r
-//\r
+///\r
+/// SPCR Revision (defined in spec)\r
+///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_REVISION 0x01\r
 \r
-//\r
-// SPCR Structure Definition\r
-//\r
+///\r
+/// Serial Port Console Redirection Table Format\r
+///\r
 typedef struct {\r
   EFI_ACPI_DESCRIPTION_HEADER             Header;\r
   UINT8                                   InterfaceType;\r
@@ -59,9 +55,7 @@ typedef struct {
   UINT32                                  Reserved2;\r
 } EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE;\r
 \r
-#ifdef _MSC_EXTENSIONS\r
 #pragma pack()\r
-#endif\r
 \r
 //\r
 // SPCR Definitions\r
@@ -70,14 +64,31 @@ typedef struct {
 //\r
 // Interface Type\r
 //\r
+\r
+///\r
+/// Full 16550 interface\r
+///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_16550   0\r
+///\r
+/// Full 16450 interface\r
+///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERFACE_TYPE_16450   1\r
 \r
 //\r
 // Interrupt Type\r
 //\r
+\r
+///\r
+/// PC-AT-compatible dual-8259 IRQ interrupt\r
+///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERRUPT_TYPE_8259    0x1\r
+///\r
+/// I/O APIC interrupt (Global System Interrupt)\r
+///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERRUPT_TYPE_APIC    0x2\r
+///\r
+/// I/O SAPIC interrupt (Global System Interrupt)\r
+///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_INTERRUPT_TYPE_SAPIC   0x4\r
 \r
 //\r
@@ -101,8 +112,18 @@ typedef struct {
 //\r
 // Flow Control\r
 //\r
+\r
+///\r
+/// DCD required for transmit\r
+///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_FLOW_CONTROL_DCD       0x1\r
+///\r
+/// RTS/CTS hardware flow control\r
+///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_FLOW_CONTROL_RTS_CTS   0x2\r
+///\r
+///  XON/XOFF software control\r
+///\r
 #define EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE_FLOW_CONTROL_XON_XOFF  0x4\r
 \r
 //\r