From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.48]) by mx.groups.io with SMTP id smtpd.web09.22075.1627640586647154053 for ; Fri, 30 Jul 2021 03:23:07 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=ReOJcoQw; spf=pass (domain: arm.com, ip: 40.107.3.48, mailfrom: christopher.jones@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=YMykhU7/mZOaMg89QOxQBMvlztH67ZuZmOLwguQssy8=; b=ReOJcoQwH2e55y0ockSMWTcr8O+GBIQanSIQY6l1Xc73knUPY6OrQ+gGE95I5Wc6fumUvaCo7nos6BOK8xaXy1mOl4HTJk3Lllw/0PINemQkqCTWz5/WgTzO7EWUUyHZZEuFV5fw+FmPhbygN2vrG27tKfQUXxL6gwX5XZGzAes= Received: from AM5PR0601CA0081.eurprd06.prod.outlook.com (2603:10a6:206::46) by AM0PR08MB4483.eurprd08.prod.outlook.com (2603:10a6:208:145::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.23; Fri, 30 Jul 2021 10:23:03 +0000 Received: from AM5EUR03FT004.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:0:cafe::c6) by AM5PR0601CA0081.outlook.office365.com (2603:10a6:206::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.17 via Frontend Transport; Fri, 30 Jul 2021 10:23:03 +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=pass 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 AM5EUR03FT004.mail.protection.outlook.com (10.152.16.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 10:23:03 +0000 Received: ("Tessian outbound 1e4fcc40c873:v100"); Fri, 30 Jul 2021 10:23:02 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 51a909d609b0f4ba X-CR-MTA-TID: 64aa7808 Received: from ce055a80543d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 336C1BE1-75AE-4A31-A24F-5833E04439D3.1; Fri, 30 Jul 2021 10:22:56 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ce055a80543d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 30 Jul 2021 10:22:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DkJIAML8FVh6LhzJuFjRt3Mh9D7Yl0f5BQaBNOOGMm/jDqanBlcgKJHLU6S9RLXDhhcsCItlIvGZ2QvQqxZjPNykkJUWVst6faz1TUw1vKmWowji1lH/qd9Z8oCYepn6ikYT3eGFUijrFmsjnI3LNwUIqo0vS/x0jALCypU3irSG9PJM+aIhzFddHc7M69F8s76MvJd5IWtDAsrLAHH5JfxXXYWIq0kq2fxKct4/4mn7Nwdyepcw5Vw8NTAVHcQAjAWw+s4AQrzdWTpIpvT/20JF8u7apGgU7Np5jDBcuZYttAQEAroPMCZHu+W2WzUU1YaG3Ac8wx/k2OAee1BIGw== 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=YMykhU7/mZOaMg89QOxQBMvlztH67ZuZmOLwguQssy8=; b=dKOF/PCNiBfz7DbQs9JSfS6T+2Z8IBHLbgpJ9Kw2XTCMHriceSyxSCPApdsYQkmbdIAhPaw5sQkQHNmC3uqSBn7k8a4YsUzpoc7igGVjrsi2z/HyfpkM75RDrwHFvdVsR2pj8cGEcAVLvTJhXVLzj1GKB3aVQjyIL6vzZS4FE4VByoQNjw7dWAbpR7CbpWT3lDLs7rRuAWKs2f4luaqDzZx727W7lLNFZqLjnEp21BVKgNWP6C3zqzL23/Mp/urfCIRvEYKqm/kIonFTAPKdqyDpPzONLxPHeSlzcfrzFVYBfSGwT1S3lLNg0K6Zviih83MR7ZtBypZaSBdU8Qd04Q== 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=pass (p=none sp=none pct=100) 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=YMykhU7/mZOaMg89QOxQBMvlztH67ZuZmOLwguQssy8=; b=ReOJcoQwH2e55y0ockSMWTcr8O+GBIQanSIQY6l1Xc73knUPY6OrQ+gGE95I5Wc6fumUvaCo7nos6BOK8xaXy1mOl4HTJk3Lllw/0PINemQkqCTWz5/WgTzO7EWUUyHZZEuFV5fw+FmPhbygN2vrG27tKfQUXxL6gwX5XZGzAes= Received: from DB8PR06CA0021.eurprd06.prod.outlook.com (2603:10a6:10:100::34) by VI1PR0801MB1839.eurprd08.prod.outlook.com (2603:10a6:800:5c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Fri, 30 Jul 2021 10:22:54 +0000 Received: from DB5EUR03FT008.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:100:cafe::f5) by DB8PR06CA0021.outlook.office365.com (2603:10a6:10:100::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 10:22:54 +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=pass 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 DB5EUR03FT008.mail.protection.outlook.com (10.152.20.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4373.18 via Frontend Transport; Fri, 30 Jul 2021 10:22:54 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 30 Jul 2021 10:22:45 +0000 Received: from e125153.arm.com (10.57.39.90) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Fri, 30 Jul 2021 10:22:44 +0000 From: "Chris Jones" To: CC: , , , , , , , Subject: [PATCH RESEND v1 09/13] MdePkg: Add Multiprocessor Wakeup structure Date: Fri, 30 Jul 2021 11:22:37 +0100 Message-ID: <20210730102241.508-10-christopher.jones@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210730102241.508-1-christopher.jones@arm.com> References: <20210730102241.508-1-christopher.jones@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 25a72240-fb4c-4499-1a26-08d95344037c X-MS-TrafficTypeDiagnostic: VI1PR0801MB1839:|AM0PR08MB4483: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:3044;OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: Po+DsGm6jVGI9SrLFaJshxjs7k1YIVl7J92p3At1JHfQcX7dXWB/PxWFYSoPimTq4mHNrWK8mVlbAPWSAxoNk5aVu1AgXwj9CSCGXoUTG8VyPRCO7QyNs7RsVPVV/NhTxceSkO6j9GSa9iEx/dJNUqWPqglWr74tt7658fQ379Iy9Qw8Bcocdtfb/4vJUYd99SUKuKGlaj4j3zc7ty0Z3+56YRmb6t8sHhpq2Ppbws7T096YTeu1QUnk0ZUtISlQOfqLv5sV8U2E/3SYkHbkNAIAwHj9XVSC3N2kSrkFORrErzzQk4N7e8TuUFXO8hkQmOOxtbLKvaKGU7vSqzNmb8A1k61YEuTCuCzRDBJLM2KDG+sHh1XWUSSR56A6S1zhEsJZP51HIEGA5LCBU+r1erWQ9QXpGzk+3TAcVG40rgBPkN4Q8KEB1mmNSpLacROiKvYS0OMaxqrjho/nij8P+3ngTYnIJtd0/s1YLQbriiQknujRMJaP3th/Gy3Ty1Z85zcnfDRgHZZHegh94bDJmo4UxxlQ2k1dJVJMS8jABMFzUS6JwMurWVUNPk6mT1uImRDbg1j3g37cVmgar8za3ZqOP20wr3GHkBln8dUauCbt4rX+3v42Wc/Lq6URBb4s1yrRWlIINT0TVgEcwwc1U2/v9dma7PxUeuhiUvVJqNZsHR4iu3g/5KSZ3beeuJQrzc5RJHn/PJpwjrBBsBTw7XDhFuwZPVhwVH18chBVPmjphzwOa8de2CczU5uijbRQEBEi48WfARyPoBoA4YwO1HkTmMjwYm5XdYG+m30uiItabaTTlQ8qr8+OC6is/ocZr+CPnKvLDoM3frWKTvLPRJgdPjZ1MeCG+joa7w13hEs= 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)(136003)(376002)(346002)(39850400004)(396003)(46966006)(36840700001)(54906003)(8936002)(47076005)(6916009)(82310400003)(336012)(70586007)(36860700001)(70206006)(16799955002)(2906002)(26005)(1076003)(316002)(5660300002)(6666004)(186003)(83380400001)(426003)(7696005)(86362001)(19627235002)(8676002)(81166007)(2616005)(82740400003)(356005)(478600001)(36756003)(4326008)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1839 Return-Path: Christopher.Jones@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT004.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 73d6499d-a0a9-4897-8578-08d95343fe4b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HxrUhYKf9o9m3LvrPaUMgEeg19RB8WAOuGFZx1k13mNyuEqVlUMGok1lFgdtIJIEcu3n6os8blv5duzCqQtxd/UJd1PBkshb0SzIQcr8EPVqTMFORvlBEr76hP33o8yNodayUqXgOt91EUMMBHWpVpCvVxYqd0Pg56+85gfcdFk108ZHX7pV589PWVTsxq6dsB4FLiRZrNNJYhDl7MslMTf/ljLNxpk3xdunr7F7fF/l4bZvBBSmlyaTKraxe/te7D8ypby+7AdsQ9F4cUcfbDBN4N96wOV5IZTsh3dHVZf7S0IhypEzrcdoG5Ljsd2Nsr4hX0rb16+D9fFjXVdMsTxqTJy5e4GBqLZMeROgrUzAMTUFbNHGZqM+JeUGP6ss7RnwugYmJF5ygp3hAsO4ZYCuUlm98a5NscQy+cfahBYESGc5nCCrtMRZpBIeNTUdC4ZlxY5nC9QzcmLJ9wgRksYWsPTAVhdnm3kWPUil9+5TJLmFRseNqaBOhFzML99/a6Qu7tUGJ6WbWiQzoRoR8Izo7r1bn7M9pH+NnJCQxp1aZ5K33HZUSOgylwbfyBl2a/M/32my8R19V6a5T0tv9JL4Ec+8FyCBaqko5bKFKy8F9J8/x95q59HuU3MneBTT3iOXt0NRGSdjZa2X3lvtD1JaEzq9Bo/VdASAL4P3aK4RxlOpchBCZ66mvDhM6Rw1A/RzuNcrhKuo4kpjvGwBkLYeWPPElFOynFzM8chpvOM3x0YJT53Jx1BSOCnbwbHVuFp6d661DmbGw08BSbEIcJidE4lxz7sUTep3kVP6TBON7mS0841C7hru1BnxK3YE 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)(396003)(376002)(346002)(39850400004)(36840700001)(46966006)(336012)(186003)(6916009)(7696005)(26005)(83380400001)(19627235002)(86362001)(426003)(82740400003)(81166007)(16799955002)(8936002)(54906003)(2616005)(8676002)(70586007)(36860700001)(36756003)(70206006)(316002)(1076003)(6666004)(4326008)(47076005)(82310400003)(478600001)(2906002)(5660300002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2021 10:23:03.0222 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 25a72240-fb4c-4499-1a26-08d95344037c 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: AM5EUR03FT004.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4483 Content-Type: text/plain Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3516) Make changes to ACPI 6.4 header according to the latest specification: - ACPI 6.4 January 2021, Table 5.21, Section 5.2.12.19 - Mantis ID 2087 (https://mantis.uefi.org/mantis/view.php?id=2087) Signed-off-by: Chris Jones --- MdePkg/Include/IndustryStandard/Acpi64.h | 29 +++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/Acpi64.h b/MdePkg/Include/IndustryStandard/Acpi64.h index 995426ae817561819e4de09553570c2735a5b268..5864870e2ba60eca0e8b04b7b2ab1217895b4994 100644 --- a/MdePkg/Include/IndustryStandard/Acpi64.h +++ b/MdePkg/Include/IndustryStandard/Acpi64.h @@ -302,7 +302,7 @@ typedef struct { // // Multiple APIC Description Table APIC structure types -// All other values between 0x0D and 0x7F are reserved and +// All other values between 0x10 and 0x7F are reserved and // will be ignored by OSPM. 0x80 ~ 0xFF are reserved for OEM. // #define EFI_ACPI_6_4_PROCESSOR_LOCAL_APIC 0x00 @@ -321,6 +321,7 @@ typedef struct { #define EFI_ACPI_6_4_GIC_MSI_FRAME 0x0D #define EFI_ACPI_6_4_GICR 0x0E #define EFI_ACPI_6_4_GIC_ITS 0x0F +#define EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP 0x10 // // APIC Structure Definitions @@ -589,6 +590,32 @@ typedef struct { UINT32 Reserved2; } EFI_ACPI_6_4_GIC_ITS_STRUCTURE; +/// +/// Multiprocessor Wakeup Structure +/// +typedef struct { + UINT8 Type; + UINT8 Length; + UINT16 MailBoxVersion; + UINT32 Reserved; + UINT64 MailBoxAddress; +} EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_STRUCTURE; + +/// +/// Multiprocessor Wakeup Mailbox Structure +/// +typedef struct { + UINT16 Command; + UINT16 Reserved; + UINT32 AcpiId; + UINT64 WakeupVector; + UINT8 ReservedForOs[2032]; + UINT8 ReservedForFirmware[2048]; +} EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_MAILBOX_STRUCTURE; + +#define EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_MAILBOX_COMMAND_NOOP 0x0000 +#define EFI_ACPI_6_4_MULTIPROCESSOR_WAKEUP_MAILBOX_COMMAND_WAKEUP 0x0001 + /// /// Smart Battery Description Table (SBST) /// -- Guid("CE165669-3EF3-493F-B85D-6190EE5B9759")