summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2020-09-03 11:38:21 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-11-03 09:09:22 +0000
commitaa49066fe687aa54a1081f4c8f52d45197d77cb5 (patch)
treea766b158eb6b5a8ef6021d1ac675ed293924eb8a /MdePkg
parent0166dad49698fbe263759755382006d64a0ac825 (diff)
downloadedk2-aa49066fe687aa54a1081f4c8f52d45197d77cb5.tar.gz
edk2-aa49066fe687aa54a1081f4c8f52d45197d77cb5.tar.bz2
edk2-aa49066fe687aa54a1081f4c8f52d45197d77cb5.zip
MdePkg: Definitions for Extended Interrupt Flags
Add Interrupt Vector Flag definitions for Extended Interrupt Descriptor, and macros to test the flags. Ref: ACPI specification 6.4.3.6 Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/IndustryStandard/Acpi10.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi10.h b/MdePkg/Include/IndustryStandard/Acpi10.h
index adeb5ae8c2..7ac9b967b5 100644
--- a/MdePkg/Include/IndustryStandard/Acpi10.h
+++ b/MdePkg/Include/IndustryStandard/Acpi10.h
@@ -2,6 +2,7 @@
ACPI 1.0b definitions from the ACPI Specification, revision 1.0b
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2020, Arm Limited. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -377,6 +378,16 @@ typedef struct {
#define EFI_ACPI_MEMORY_NON_WRITABLE 0x00
//
+// Interrupt Vector Flags definitions for Extended Interrupt Descriptor
+// Ref ACPI specification 6.4.3.6
+//
+#define EFI_ACPI_EXTENDED_INTERRUPT_FLAG_PRODUCER_CONSUMER_MASK BIT0
+#define EFI_ACPI_EXTENDED_INTERRUPT_FLAG_MODE_MASK BIT1
+#define EFI_ACPI_EXTENDED_INTERRUPT_FLAG_POLARITY_MASK BIT2
+#define EFI_ACPI_EXTENDED_INTERRUPT_FLAG_SHARABLE_MASK BIT3
+#define EFI_ACPI_EXTENDED_INTERRUPT_FLAG_WAKE_CAPABLITY_MASK BIT4
+
+//
// Ensure proper structure formats
//
#pragma pack(1)