[edk2-devel] [PATCH v2 1/2] MdePkg: Definitions for Extended Interrupt Flags
Michael D Kinney
michael.d.kinney at intel.com
Wed Oct 28 02:20:39 UTC 2020
Reviewed-by: Michael D Kinney <michael.d.kinney at intel.com>
> -----Original Message-----
> From: Sami Mujawar <sami.mujawar at arm.com>
> Sent: Friday, September 25, 2020 6:18 AM
> To: devel at edk2.groups.io
> Cc: Sami Mujawar <sami.mujawar at arm.com>; Kinney, Michael D <michael.d.kinney at intel.com>; gaoliming at byosoft.com.cn; Liu,
> Zhiguang <zhiguang.liu at intel.com>; Alexei.Fedorov at arm.com; pierre.gondois at arm.com; Matteo.Carlini at arm.com;
> Ben.Adderson at arm.com; nd at arm.com
> Subject: [PATCH v2 1/2] 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 at arm.com>
> ---
>
> Notes:
> v2
> - Updated based on review comments to just define the bit [SAMI]
> locations. Also dropped the IS_xxx macros.
>
> MdePkg/Include/IndustryStandard/Acpi10.h | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/MdePkg/Include/IndustryStandard/Acpi10.h b/MdePkg/Include/IndustryStandard/Acpi10.h
> index adeb5ae8c219f31d2403fc7aa217bfb4e1e44694..7ac9b967b54dcc92f2c20366bf1ff08d67c4c971 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)
> --
> 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66678): https://edk2.groups.io/g/devel/message/66678
Mute This Topic: https://groups.io/mt/77079116/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