[edk2-devel] [PATCH v1 07/13] MdePkg: Add flags and MinTransferSize to Generic Initiator

Chris Jones christopher.jones at arm.com
Fri Jul 30 08:26:43 UTC 2021


Make changes to ACPI 6.4 header according to the latest specification:
- ACPI 6.4 January 2021, Table 5.59, Section 5.2.27.1 & Section 5.2.27.4
- Mantis ID 1991 (https://mantis.uefi.org/mantis/view.php?id=1991)

Signed-off-by: Chris Jones <christopher.jones at arm.com>
---
 MdePkg/Include/IndustryStandard/Acpi64.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/IndustryStandard/Acpi64.h
index b8be65c5e1c861b2a85b81f585ffdb40a178e368..ffa819d83a95ba55784a639b309b8bac8263be6a 100644
--- a/MdePkg/Include/IndustryStandard/Acpi64.h
+++ b/MdePkg/Include/IndustryStandard/Acpi64.h
@@ -783,7 +783,8 @@ typedef struct {
 /// Generic Initiator Affinity Structure Flags. All other bits are reserved
 /// and must be 0.
 ///
-#define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ENABLED (1 << 0)
+#define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ENABLED                     BIT0
+#define EFI_ACPI_6_4_GENERIC_INITIATOR_AFFINITY_STRUCTURE_ARCHITECTURAL_TRANSACTIONS  BIT1
 
 ///
 /// System Locality Distance Information Table (SLIT).
@@ -2079,7 +2080,8 @@ typedef struct {
 ///
 typedef struct {
   UINT8                         MemoryHierarchy:4;
-  UINT8                         Reserved:4;
+  UINT8                         AccessAttributes:2;
+  UINT8                         Reserved:2;
 } EFI_ACPI_6_4_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_FLAGS;
 
 ///
@@ -2091,7 +2093,8 @@ typedef struct {
   UINT32                                                                        Length;
   EFI_ACPI_6_4_HMAT_STRUCTURE_SYSTEM_LOCALITY_LATENCY_AND_BANDWIDTH_INFO_FLAGS  Flags;
   UINT8                                                                         DataType;
-  UINT8                                                                         Reserved1[2];
+  UINT8                                                                         MinTransferSize;
+  UINT8                                                                         Reserved1;
   UINT32                                                                        NumberOfInitiatorProximityDomains;
   UINT32                                                                        NumberOfTargetProximityDomains;
   UINT8                                                                         Reserved2[4];
-- 
Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#78397): https://edk2.groups.io/g/devel/message/78397
Mute This Topic: https://groups.io/mt/84546297/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list