Revision: 19288
http://sourceforge.net/p/edk2/code/19288
Author: jyao1
Date: 2015-12-16 00:55:29 +0000 (Wed, 16 Dec 2015)
Log Message:
-----------
MdePkg: Add GIC version to ACPI 5.1/6 definitions
The GicVersion field is defined in ACPI 5.1 and 6.0
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Samer El-Haj-Mahmoud" <[email protected]>
Reviewed-by: "Yao, Jiewen" <[email protected]>
Modified Paths:
--------------
trunk/edk2/MdePkg/Include/IndustryStandard/Acpi51.h
trunk/edk2/MdePkg/Include/IndustryStandard/Acpi60.h
Modified: trunk/edk2/MdePkg/Include/IndustryStandard/Acpi51.h
===================================================================
--- trunk/edk2/MdePkg/Include/IndustryStandard/Acpi51.h 2015-12-15 19:23:57 UTC
(rev 19287)
+++ trunk/edk2/MdePkg/Include/IndustryStandard/Acpi51.h 2015-12-16 00:55:29 UTC
(rev 19288)
@@ -3,6 +3,7 @@
Copyright (c) 2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>
+ (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
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
@@ -529,10 +530,19 @@
UINT32 GicId;
UINT64 PhysicalBaseAddress;
UINT32 SystemVectorBase;
- UINT32 Reserved2;
+ UINT8 GicVersion;
+ UINT8 Reserved2[3];
} EFI_ACPI_5_1_GIC_DISTRIBUTOR_STRUCTURE;
///
+/// GIC Version
+///
+#define EFI_ACPI_5_1_GIC_V2 0x01
+#define EFI_ACPI_5_1_GIC_V2m 0x02
+#define EFI_ACPI_5_1_GIC_V3 0x03
+#define EFI_ACPI_5_1_GIC_V4 0x04
+
+///
/// GIC MSI Frame Structure
///
typedef struct {
Modified: trunk/edk2/MdePkg/Include/IndustryStandard/Acpi60.h
===================================================================
--- trunk/edk2/MdePkg/Include/IndustryStandard/Acpi60.h 2015-12-15 19:23:57 UTC
(rev 19287)
+++ trunk/edk2/MdePkg/Include/IndustryStandard/Acpi60.h 2015-12-16 00:55:29 UTC
(rev 19288)
@@ -2,6 +2,7 @@
ACPI 6.0 definitions from the ACPI Specification Revision 6.0 April, 2015.
Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
+ (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
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
@@ -532,10 +533,19 @@
UINT32 GicId;
UINT64 PhysicalBaseAddress;
UINT32 SystemVectorBase;
- UINT32 Reserved2;
+ UINT8 GicVersion;
+ UINT8 Reserved2[3];
} EFI_ACPI_6_0_GIC_DISTRIBUTOR_STRUCTURE;
///
+/// GIC Version
+///
+#define EFI_ACPI_6_0_GIC_V1 0x01
+#define EFI_ACPI_6_0_GIC_V2 0x02
+#define EFI_ACPI_6_0_GIC_V3 0x03
+#define EFI_ACPI_6_0_GIC_V4 0x04
+
+///
/// GIC MSI Frame Structure
///
typedef struct {
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits