From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (NAM02-CY1-obe.outbound.protection.outlook.com [40.92.4.41]) by mx.groups.io with SMTP id smtpd.web09.8835.1603152004637268710 for ; Mon, 19 Oct 2020 17:00:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@outlook.com header.s=selector1 header.b=ZfStcQKO; spf=pass (domain: outlook.com, ip: 40.92.4.41, mailfrom: michael.kubacki@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aUN8Sx1n2xmN1FBkTURODLIWbf1y5KWlBsa7f5ERy0tYoqImuI5Q96+9k/BrlupBTaWY/RP72LGjh8lpZRYkckoh77HN3WMPkS/WldVpPOR4ScDclsev0+92rCVTjIVFc6tvAcj9cNFRU8thI+LDuFhu5KRwyAvH1TB4j780AIWFcPEW/70Z3n63XHJ5EcSJFyJGCnqvIbnhzD6MzAmGCgsn9Ytbc97ejlaw0NfiQ0wHqgsTRJnPIJqgRxf/JyX3rTn61AtWa4FMdgZf5UA5SerzN89icE5zpMAXTvM7m3BiTWJPBfE5mSyQ7kZY+Q2Er6lBBBO7QEk40p8fX/qYqQ== 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=+n2dOoes6sgjnL1Q+zUrXo7H/ExcIzElM1OB/EHVVNk=; b=gSOlAIH/wPs30azY1qzJmFF212fQBHtOKklqQBkJsBg4s7bnQ3p8kOVpAKuPLhzuuYsw22i1fPo1UN6ZWmamXv2PhrWAOJczAXMIFkEh3sp+mfoU7os4lUDLHTV/RyHYg1amnvUBOImhLSaKEeyHjkCxzsPHY6N7c9J7z5997C/+WQAGpNsbN8/EOvs8X25dRIJ+/Mu8r0ZLgDitnKGpJewtnwbDx1YjrxZgYH6TElMNMuw+Q5ByOOF30CER9zUnShAv2NqkeDOvaeohc36Ghk4VvrnpveIvHn9i3WSi9PP3nWoF5Hh58WhtuSW5rHcp8PbFePvb1vqhPpbztGGSUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+n2dOoes6sgjnL1Q+zUrXo7H/ExcIzElM1OB/EHVVNk=; b=ZfStcQKOxtLsSBVNWOymo+7eihtLzmtvSy/vVITJimxaU0NM222BPck6PyxCjsTvrSZH0+xevuYdZ3pjami6XAnf4lzqu+8GFTzauFj+GK+EDT7d/QOqiGFKnYoQPTDJ6r2pC89qdEzNLJw0XioCqZSG4lqRwaZLR9E09n6Qlx0y1Z9KwD9TfCg+iwRUAs14qM1IECcsf6YQHX84rcI74Nb6HglV+e9k+UHB73Q0ymU5j6Cp8N6fi1MQUQ8DDoajeu85eDgwz4KgLrM+3Mtaznpnfa9nrLOfPw1St40ZovjMa47Rvf2Q+c3QdhotvzgxJoacZjfUxH7C2R6ayyqbaw== Received: from CY1NAM02FT029.eop-nam02.prod.protection.outlook.com (10.152.74.58) by CY1NAM02HT094.eop-nam02.prod.protection.outlook.com (10.152.74.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Tue, 20 Oct 2020 00:00:03 +0000 Received: from MWHPR07MB3440.namprd07.prod.outlook.com (2a01:111:e400:7e45::4e) by CY1NAM02FT029.mail.protection.outlook.com (2a01:111:e400:7e45::399) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21 via Frontend Transport; Tue, 20 Oct 2020 00:00:03 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:51B7B08A063800DF8C4BA08310388F0B69250FEAB9A603D2A03565E06E2C1A73;UpperCasedChecksum:A05EF528A1A849986DDBE4B10134B9BD0D945D14158AA9D34D82B79F9A29F03F;SizeAsReceived:7696;Count:47 Received: from MWHPR07MB3440.namprd07.prod.outlook.com ([fe80::858f:bd50:1b65:e803]) by MWHPR07MB3440.namprd07.prod.outlook.com ([fe80::858f:bd50:1b65:e803%7]) with mapi id 15.20.3477.028; Tue, 20 Oct 2020 00:00:03 +0000 From: "Michael Kubacki" To: devel@edk2.groups.io CC: Liming Gao , Michael D Kinney , Guomin Jiang , Wei6 Xu , Zhiguang Liu Subject: [PATCH v6 1/6] MdePkg/SystemResourceTable.h: Add vendor range values Date: Mon, 19 Oct 2020 16:59:34 -0700 Message-ID: X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201019235939.2320-1-michael.kubacki@outlook.com> References: <20201019235939.2320-1-michael.kubacki@outlook.com> X-TMN: [HfqtQJHqIhKCoPz3WaGBFNEBz9QZMCA3zCZb5SsQGu9TU+3F70/IrU4JKjHuU4Rx] X-ClientProxiedBy: MWHPR14CA0067.namprd14.prod.outlook.com (2603:10b6:300:81::29) To MWHPR07MB3440.namprd07.prod.outlook.com (2603:10b6:301:69::28) Return-Path: michael.kubacki@outlook.com X-Microsoft-Original-Message-ID: <20201019235939.2320-2-michael.kubacki@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (2001:4898:80e8:2:819c:275:72be:ff50) by MWHPR14CA0067.namprd14.prod.outlook.com (2603:10b6:300:81::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21 via Frontend Transport; Tue, 20 Oct 2020 00:00:03 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: a6099d3a-f0c5-4e57-adfc-08d8748b188f X-MS-TrafficTypeDiagnostic: CY1NAM02HT094: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xkGVxSeQkrA3Bo+nXpsJVP+zrnAb1KV+AUm9meymxOQF9xz7xOsLnkExEOqfo+7COFTS4H7wWByLIXYK4AiJsMehvrI4f58F+tUblOfC/+LdeP5w1gKmkIntO060PZEOdUAG2tBU7uTUhP90JkYaU+pT0mQV4+BZAFGOD3Z0ob7+FnGOkphvSrepsSoR5EtxAaRLEp542By3uFgL9wc2Rg== X-MS-Exchange-AntiSpam-MessageData: MXROATO5NOA9ca5KYagKvPNRRFi2GuQlmvZuDyrk/hmofoZqYRw30icY3OFUT9m1cxIynSjaIX49WvxWme2eUjTBBbXsmvP6YjMWV2E+f2DUnla5lwekzZatj3w7g/uVUegEJ4AWlUyV/VGV5W/RnDZ7ofz86Nt21CRDFrPHREPXGIP1/O6SQzJmfNLCs9caOKA55L5y3ToZYIVgANGDyQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6099d3a-f0c5-4e57-adfc-08d8748b188f X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2020 00:00:03.6359 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: CY1NAM02FT029.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT094 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Michael Kubacki Adds the following macros to define the unsuccessful vendor range min and max (defined in UEFI Specification 2.8): 1. LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MIN 2. LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MAX Cc: Liming Gao Cc: Michael D Kinney Cc: Guomin Jiang Cc: Wei6 Xu Cc: Zhiguang Liu Signed-off-by: Michael Kubacki Acked-by: Liming Gao Reviewed-by: Wei6 Xu --- MdePkg/Include/Guid/SystemResourceTable.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/MdePkg/Include/Guid/SystemResourceTable.h b/MdePkg/Include/Gui= d/SystemResourceTable.h index 418b8c8d055a..c330fd80a693 100644 --- a/MdePkg/Include/Guid/SystemResourceTable.h +++ b/MdePkg/Include/Guid/SystemResourceTable.h @@ -2,6 +2,7 @@ Guid & data structure used for EFI System Resource Table (ESRT) =20 Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
+ Copyright (c) Microsoft Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 @par Revision Reference: @@ -44,6 +45,18 @@ #define LAST_ATTEMPT_STATUS_ERROR_PWR_EVT_BATT 0x00000007 #define LAST_ATTEMPT_STATUS_ERROR_UNSATISFIED_DEPENDENCIES 0x00000008 =20 +/// +/// LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MAX is defined as +/// 0x4000 as of UEFI Specification 2.8B. This will be modified in the +/// future to the correct value 0x3FFF. To ensure correct implementation, +/// this change is preemptively made in the value defined below. +/// +/// When the UEFI Specification is updated, this comment block can be +/// removed. +/// +#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MIN 0x00001000 +#define LAST_ATTEMPT_STATUS_ERROR_UNSUCCESSFUL_VENDOR_RANGE_MAX 0x00003FFF + typedef struct { /// /// The firmware class field contains a GUID that identifies a firmware = component --=20 2.28.0.windows.1