From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.40]) by mx.groups.io with SMTP id smtpd.web11.7835.1601039923388068923 for ; Fri, 25 Sep 2020 06:18:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=TaRF3psq; spf=pass (domain: arm.com, ip: 40.107.20.40, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xPaU18bGO0D0VbV9dBhIZwd91kvgiiNLjrD2tsi23T8=; b=TaRF3psqhJsAQz7LXKhq1iCRoKg31UH9on5oaBSdtc7z+69JmZfN+hvvByyAK6Ne2tfQF5LnBqU/vae33J5otJ9bODYdvBHGp0K8OM1wb0X3qbn4Bz4UHQdLoeljlkD9UUa7rJd6bDKtpE4dyr+gr4P/dOQ6DfSNljxdxsAiIdY= Received: from AM5PR0201CA0019.eurprd02.prod.outlook.com (2603:10a6:203:3d::29) by AM0PR08MB5345.eurprd08.prod.outlook.com (2603:10a6:208:18c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20; Fri, 25 Sep 2020 13:18:41 +0000 Received: from VE1EUR03FT058.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:3d:cafe::dd) by AM5PR0201CA0019.outlook.office365.com (2603:10a6:203:3d::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.22 via Frontend Transport; Fri, 25 Sep 2020 13:18:40 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT058.mail.protection.outlook.com (10.152.19.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21 via Frontend Transport; Fri, 25 Sep 2020 13:18:40 +0000 Received: ("Tessian outbound 195a290eb161:v64"); Fri, 25 Sep 2020 13:18:40 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 012192dcaf877812 X-CR-MTA-TID: 64aa7808 Received: from 13b7a06a9104.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3B5DD8C9-234E-42BF-B74F-C225EAD12CA7.1; Fri, 25 Sep 2020 13:18:34 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 13b7a06a9104.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 25 Sep 2020 13:18:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NjbywQfO6h1MreXKzjGuXu2KADCRQuSrv5g31mFBLc5xKogqeET6rGnhCWxpV8YFEivnyl4rhv0jQguqNYGzpqCQYHJdRmqRJwdi5qn/vHlSVexJ2D3E6Alp78KqQ5y5aILnZYW1yup3wakp+gFyuhl945Pfaz6iT7uAOlvDwvIyQMbuROJ/DJijGeyEwXRkUGdicEDOiOfzAZ4yrQF03aX5rzgu0fpl6L8ZkHYg7dUKeJFQg1w38nLsmlQrIH+wFd3psFI4F4v6USIKjbye4wvmooOXL5KMokUFdxA9/OFKIKsZpiX2sEKP7HVG/AiXkgoA4IbBa0vKDBelNEI+2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xPaU18bGO0D0VbV9dBhIZwd91kvgiiNLjrD2tsi23T8=; b=EgcOnSEd6U5HHH/5VpMgllvVFNeUpti5kkak6SUaDGpDLhJnLF3PxTVnBotbMoyG9wcxif0rLl/NeILjvNVD6WUSpH/UbIKnCLHYdVdHl3OCvtIkg4hRiAEMCsWWy2OVH0LVRWWBDnotKkucwkEXSxtbB401qI9qxD1mDQ2pcd+AfSzmQMPuwCbpV+CfHXCHURB5gqwozBc8aIsDVqTjiJ/Vqh75eBcMJ7cqO+pLDiWnk3uJzACpsXWOCUtShgnMAhN8h8NfSQRJ6/1bsA9A+NuPugx7ZzH79m+Og5Y1r5ORAurTSPnSYySiJWk5yEy8pobF39w91RHt+UwQqFTqrA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=bestguesspass action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xPaU18bGO0D0VbV9dBhIZwd91kvgiiNLjrD2tsi23T8=; b=TaRF3psqhJsAQz7LXKhq1iCRoKg31UH9on5oaBSdtc7z+69JmZfN+hvvByyAK6Ne2tfQF5LnBqU/vae33J5otJ9bODYdvBHGp0K8OM1wb0X3qbn4Bz4UHQdLoeljlkD9UUa7rJd6bDKtpE4dyr+gr4P/dOQ6DfSNljxdxsAiIdY= Received: from AM6PR05CA0018.eurprd05.prod.outlook.com (2603:10a6:20b:2e::31) by AM6PR08MB4706.eurprd08.prod.outlook.com (2603:10a6:20b:c4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20; Fri, 25 Sep 2020 13:18:32 +0000 Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:2e:cafe::31) by AM6PR05CA0018.outlook.office365.com (2603:10a6:20b:2e::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20 via Frontend Transport; Fri, 25 Sep 2020 13:18:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT039.mail.protection.outlook.com (10.152.17.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3412.21 via Frontend Transport; Fri, 25 Sep 2020 13:18:32 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Fri, 25 Sep 2020 13:18:25 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1779.2; Fri, 25 Sep 2020 13:18:25 +0000 Received: from E107187.Arm.com (10.57.53.22) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Fri, 25 Sep 2020 13:18:24 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v2 1/2] MdePkg: Definitions for Extended Interrupt Flags Date: Fri, 25 Sep 2020 14:18:21 +0100 Message-ID: <20200925131822.94148-2-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20200925131822.94148-1-sami.mujawar@arm.com> References: <20200925131822.94148-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 83215e61-98cd-4d6b-9e65-08d861558526 X-MS-TrafficTypeDiagnostic: AM6PR08MB4706:|AM0PR08MB5345: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:3631;OLM:3631; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Dg+iyPyIYyNHgShksvtTxbWlv/9LwuEB77zAOC+v9ZhykzPX0DwA6xiqt1CUCCbCo0xLvQ0Pjm6lSqxknUb4fFbez8/kR/MuDH2adVG9H1nPQy8W7uJ8XKoPbqF4aGbszyxh+V+SO1w+I452hz07kPILSpDjBsYddlH+uecKacCmTVyVuEHxgkBSiuH0fUVzjX1BOgbXPnmg4bBK8Z7HFXxGWsC2dFsm+3aGNkrfP3oYgInHBnjw4WHECnkLB3nyrkOSvTcbU7aigK74ZpgD6ByAY5YJmrUZsOhYwuN4nc6xxt/AkbEdNavb5Slek3lLOi5OUqqdojBfsNv8SdId5sLE8c47KazGzveynJuM+8v65ZgYb1hgAeWIRlwF/+pRzF5xg4pxe+xtyZjbPk9Uxhb9rOVAJoGn+Q8T5dhwLSU= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(4636009)(376002)(136003)(346002)(396003)(39860400002)(46966005)(316002)(2906002)(5660300002)(19627235002)(7696005)(26005)(186003)(54906003)(36756003)(356005)(1076003)(81166007)(82740400003)(47076004)(8936002)(2616005)(44832011)(70586007)(82310400003)(70206006)(478600001)(8676002)(6916009)(336012)(426003)(86362001)(83380400001)(6666004)(4326008)(21314003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4706 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT058.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 2fe6f781-9e23-4a52-625f-08d861558063 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0eKYREdrXukdJS3SSAAjkknz4H+LhMtvx9HCuXd1ONedzdcle8N1LAwUPU9M/yQpHYfHBcjoSPFq7en1VwjP+SYBmJSDsiY18mUTQBsuQ89yUlt0jc1SDsTULXBLdntZhHCTTP/kChbfAVSpbFYaPuANOcdJOEIEcmTI+gjmSb5qTIb0XGL+CDXsPlbxobLAW88MOpp8XH9UDu4t+RDQyiLM/y/8R7zEixNC1THK/qFXAF/HvAoCNAsiNZgzXRCsSmNTc/rkcB7MYqNgWQsJ+i5o1tUYKqRRRtJbAtqIjDHbRiaVoFSbb44SnmfOxb10CORmRtPb5md0lw7B6eetGsa1fl/RxNwtQshHLk/UfBwKZWBePKkxr7F6Epmlr3BsLtKAVGPKwR7WbH6mxaATl70aiCtUyproukaNJ1+xw5wYAoYHLBMVP0qSNd3B+PMBpke7D0F3bNHkJUJD07H+LA== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(136003)(39860400002)(346002)(376002)(396003)(46966005)(86362001)(44832011)(82310400003)(478600001)(6916009)(5660300002)(70586007)(54906003)(8676002)(2906002)(83380400001)(4326008)(82740400003)(36756003)(1076003)(316002)(426003)(70206006)(19627235002)(36906005)(26005)(186003)(2616005)(7696005)(8936002)(336012)(47076004)(6666004)(81166007)(21314003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2020 13:18:40.5810 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 83215e61-98cd-4d6b-9e65-08d861558526 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT058.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5345 Content-Type: text/plain 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 --- 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.
+Copyright (c) 2020, Arm Limited. All rights reserved.
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)'