From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.10632.1601342163304717883 for ; Mon, 28 Sep 2020 18:16:04 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Tue, 29 Sep 2020 09:15:55 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , Cc: , , , , , , References: <20200925131822.94148-1-sami.mujawar@arm.com> <20200925131822.94148-2-sami.mujawar@arm.com> In-Reply-To: <20200925131822.94148-2-sami.mujawar@arm.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHYyIDEvMl0gTWRlUGtnOiBEZWZpbml0aW9ucyBmb3IgRXh0ZW5kZWQgSW50ZXJydXB0IEZsYWdz?= Date: Tue, 29 Sep 2020 09:15:56 +0800 Message-ID: <001a01d695fe$157c7c80$40757580$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQF72f4Pejaref5F+CKmZG4Cq+8RBwFzNuAGqiiuRfA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: bounce+27952+65628+4905953+8761045@groups.io > =B4=FA=B1=ED Sami Mujawar > =B7=A2=CB=CD=CA=B1=BC=E4: 2020=C4=EA9=D4=C225=C8=D5 21:18 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Sami Mujawar ; michael.d.kinney@inte= l.com; > gaoliming@byosoft.com.cn; zhiguang.liu@intel.com; Alexei.Fedorov@arm.com= ; > pierre.gondois@arm.com; Matteo.Carlini@arm.com; Ben.Adderson@arm.com; > nd@arm.com > =D6=F7=CC=E2: [edk2-devel] [PATCH v2 1/2] MdePkg: Definitions for Extend= ed Interrupt > Flags >=20 > Add Interrupt Vector Flag definitions for Extended Interrupt > Descriptor, and macros to test the flags. > Ref: ACPI specification 6.4.3.6 >=20 > Signed-off-by: Sami Mujawar > --- >=20 > Notes: > v2 > - Updated based on review comments to just define the bit [SAM= I] > locations. Also dropped the IS_xxx macros. >=20 > MdePkg/Include/IndustryStandard/Acpi10.h | 11 +++++++++++ > 1 file changed, 11 insertions(+) >=20 > diff --git a/MdePkg/Include/IndustryStandard/Acpi10.h > b/MdePkg/Include/IndustryStandard/Acpi10.h > index > adeb5ae8c219f31d2403fc7aa217bfb4e1e44694..7ac9b967b54dcc92f2c20366 > bf1ff08d67c4c971 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 >=20 > Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
> +Copyright (c) 2020, Arm Limited. All rights reserved.
> SPDX-License-Identifier: BSD-2-Clause-Patent > **/ >=20 > @@ -377,6 +378,16 @@ typedef struct { > #define EFI_ACPI_MEMORY_NON_WRITABLE 0x00 >=20 > // > +// 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)' >=20 >=20 >=20 >=20 >=20