]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Acpi10.h
MdePkg: Definitions for Extended Interrupt Flags
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Acpi10.h
index fa06eefbb6e6a3a39722ca6d53d8bb2cfa01f7c8..7ac9b967b54dcc92f2c20366bf1ff08d67c4c971 100644 (file)
@@ -2,6 +2,7 @@
   ACPI 1.0b definitions from the ACPI Specification, revision 1.0b\r
 \r
 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2020, Arm Limited. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
 **/\r
 \r
@@ -358,7 +359,7 @@ typedef struct {
 #define EFI_ACPI_DMA_TRANSFER_TYPE_MASK                 0x03\r
 #define   EFI_ACPI_DMA_TRANSFER_TYPE_8_BIT              0x00\r
 #define   EFI_ACPI_DMA_TRANSFER_TYPE_8_BIT_AND_16_BIT   0x01\r
-#define   EFI_ACPI_DMA_TRANSFER_TYPE_16_BIT             0x10\r
+#define   EFI_ACPI_DMA_TRANSFER_TYPE_16_BIT             0x02\r
 \r
 //\r
 // IO Information\r
@@ -376,6 +377,16 @@ typedef struct {
 #define   EFI_ACPI_MEMORY_WRITABLE                      0x01\r
 #define   EFI_ACPI_MEMORY_NON_WRITABLE                  0x00\r
 \r
+//\r
+// Interrupt Vector Flags definitions for Extended Interrupt Descriptor\r
+// Ref ACPI specification 6.4.3.6\r
+//\r
+#define EFI_ACPI_EXTENDED_INTERRUPT_FLAG_PRODUCER_CONSUMER_MASK   BIT0\r
+#define EFI_ACPI_EXTENDED_INTERRUPT_FLAG_MODE_MASK                BIT1\r
+#define EFI_ACPI_EXTENDED_INTERRUPT_FLAG_POLARITY_MASK            BIT2\r
+#define EFI_ACPI_EXTENDED_INTERRUPT_FLAG_SHARABLE_MASK            BIT3\r
+#define EFI_ACPI_EXTENDED_INTERRUPT_FLAG_WAKE_CAPABLITY_MASK      BIT4\r
+\r
 //\r
 // Ensure proper structure formats\r
 //\r