]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Acpi51.h
MdePkg: TpmPtp: Add CapCRBIdleBypass definition
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Acpi51.h
index 2741c4b80261e22153295445397c7ffe42bb968b..f38aa46a0d785253a176598a1439b054232618ae 100644 (file)
@@ -1,7 +1,9 @@
 /** @file   \r
-  ACPI 5.1 definitions from the ACPI Specification Revision 5.1 July, 2014.\r
+  ACPI 5.1 definitions from the ACPI Specification Revision 5.1 Errata B January, 2016.\r
 \r
-  Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 Hewlett-Packard Development Company, L.P.<BR>\r
+  Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  (C) Copyright 2015 Hewlett Packard Enterprise Development LP<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
@@ -528,9 +530,18 @@ typedef struct {
   UINT32  GicId;\r
   UINT64  PhysicalBaseAddress;\r
   UINT32  SystemVectorBase;\r
-  UINT32  Reserved2;\r
+  UINT8   GicVersion;\r
+  UINT8   Reserved2[3];\r
 } EFI_ACPI_5_1_GIC_DISTRIBUTOR_STRUCTURE;\r
 \r
+///\r
+/// GIC Version\r
+///\r
+#define EFI_ACPI_5_1_GIC_V1                                   0x01\r
+#define EFI_ACPI_5_1_GIC_V2                                   0x02\r
+#define EFI_ACPI_5_1_GIC_V3                                   0x03\r
+#define EFI_ACPI_5_1_GIC_V4                                   0x04\r
+\r
 ///\r
 /// GIC MSI Frame Structure\r
 ///\r
@@ -611,12 +622,13 @@ typedef struct {
 \r
 //\r
 // SRAT structure types.\r
-// All other values between 0x03 an 0xFF are reserved and\r
+// All other values between 0x04 an 0xFF are reserved and\r
 // will be ignored by OSPM.\r
 //\r
 #define EFI_ACPI_5_1_PROCESSOR_LOCAL_APIC_SAPIC_AFFINITY  0x00\r
 #define EFI_ACPI_5_1_MEMORY_AFFINITY                      0x01\r
 #define EFI_ACPI_5_1_PROCESSOR_LOCAL_X2APIC_AFFINITY      0x02\r
+#define EFI_ACPI_5_1_GICC_AFFINITY                        0x03\r
 \r
 ///\r
 /// Processor Local APIC/SAPIC Affinity Structure Definition\r
@@ -675,6 +687,23 @@ typedef struct {
   UINT8   Reserved2[4];\r
 } EFI_ACPI_5_1_PROCESSOR_LOCAL_X2APIC_AFFINITY_STRUCTURE;\r
 \r
+///\r
+/// GICC Affinity Structure Definition\r
+///\r
+typedef struct {\r
+  UINT8   Type;\r
+  UINT8   Length;\r
+  UINT32  ProximityDomain;\r
+  UINT32  AcpiProcessorUid;\r
+  UINT32  Flags;\r
+  UINT32  ClockDomain;\r
+} EFI_ACPI_5_1_GICC_AFFINITY_STRUCTURE;\r
+\r
+///\r
+/// GICC Flags.  All other bits are reserved and must be 0.\r
+///\r
+#define EFI_ACPI_5_1_GICC_ENABLED (1 << 0)\r
+\r
 ///\r
 /// System Locality Distance Information Table (SLIT).\r
 /// The rest of the table is a matrix.\r
@@ -1238,7 +1267,7 @@ typedef struct {
 ///\r
 /// GTDT Version (as defined in ACPI 5.1 spec.)\r
 ///\r
-#define EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION 0x01\r
+#define EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION 0x02\r
 \r
 ///\r
 /// Timer Flags.  All other bits are reserved and must be 0.\r
@@ -1297,8 +1326,8 @@ typedef struct {
 ///\r
 typedef struct {\r
   UINT8   Type;\r
-  UINT  Length;\r
-  UINT16  Reserved;\r
+  UINT16  Length;\r
+  UINT  Reserved;\r
   UINT64  RefreshFramePhysicalAddress;\r
   UINT64  WatchdogControlFramePhysicalAddress;\r
   UINT32  WatchdogTimerGSIV;\r
@@ -1845,7 +1874,8 @@ typedef struct {
   UINT8                                    CommandComplete:1;\r
   UINT8                                    SciDoorbell:1;\r
   UINT8                                    Error:1;\r
-  UINT8                                    Reserved:5;\r
+  UINT8                                    PlatformNotification:1;  \r
+  UINT8                                    Reserved:4;\r
   UINT8                                    Reserved1;\r
 } EFI_ACPI_5_1_PCCT_GENERIC_SHARED_MEMORY_REGION_STATUS;\r
 \r