From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.92.42.96]) by mx.groups.io with SMTP id smtpd.web12.3392.1601086811833219406 for ; Fri, 25 Sep 2020 19:20:11 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@outlook.com header.s=selector1 header.b=qz0LcNjj; spf=pass (domain: outlook.com, ip: 40.92.42.96, mailfrom: michael.kubacki@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jOJT9IzBDRTg9+HSDVCIZMRZ0i/9dGylbUnpx40XLaAVbnady+TNpXEjYbRnjNmpEG1umwS05ZzPItc2sXo60ji/2iuOnBTgbCz6OTZJEGHHNd/GPFaDvElazrbk7UAnX4iWBX6je3xzoWJNNZnGmVIHkdJ2NvBgFD6Lg8HegfVrCb5tFtyWWnhscGqT0r+INnGoUyIy45ni8iC6It0HdgbPJlnw2y1EA6QHGLVymLfLPIthKQikN4DmHT/BBH/4g7cW+SJkxhujvyjSzD/wdo/lAgznjdtrRRq4Bt453HbeYwklfTE54QnzmXUdY9XqkwgUPyx62ofjRZroxMvyeg== 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=a+y1KCJ2+u9/kSJuTc5JJXrjD+43F2lgbRY1bSMZ4p0=; b=F9TJRhlmcEu5OMimVIqpDn4Q5flDhC86sfIh10s2Jk8XuNrNtDRwsjif3l0syqHwKj65jJbC3Cz1jxaRMuwFgpGTQZYivZTdqQt6ODWWXBJSrfPP3UBo5awHTWqIuVdpiILr0cUVG7KO5fATu7m5rmct1Zikz0n/BD4RQp1sJHWLMdkmOOGcqD8M7SPa4VfczXl+UhE8pvGLAj1DyB6dl66biypkNpH/smVOpvEMW8PrsdRdfyFl2jcbOsUwaxTflQDAKDQtolcbW7OGwcK7oTOjeN6kfH0FRezIhu0CTaeq9ZPdMKLE9RWrQnCKhc29F6d2GX6ASVfpFtxv8rmqnA== 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=a+y1KCJ2+u9/kSJuTc5JJXrjD+43F2lgbRY1bSMZ4p0=; b=qz0LcNjjle1qNhL5UVkyCmlXb8Bg/tDW2cn6oalQ60lgq20ZXPhU2QDHmcQcBOCKV6MO/Y7e/cLwu/dFydqtg6G/CXCvknBziM5AvTF82jCmhYQXUK+MKg3l6kOC1br+KHeD0Ihm3PcdXDY8j7oC2h5uUNHmkjPGhZSOxQQaOglIIi74QWY7oSXARptFy912JIPkeVojEomVAx9mfao8F9gbvPH5LFO7fULC3/5GfZjWldpd7WasE+b171XVfPom2Oo9bojG5pLuTEuszgDZFt+tFwmSk+DeXHAhycNdx5PBg/obtoNx1Lug5Vnr5E9Lzz9AGLdWxLxWfdbd2fa5CQ== Received: from MW2NAM10FT023.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e87::42) by MW2NAM10HT211.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e87::193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21; Sat, 26 Sep 2020 02:20:10 +0000 Received: from MWHPR07MB3440.namprd07.prod.outlook.com (2a01:111:e400:7e87::4c) by MW2NAM10FT023.mail.protection.outlook.com (2a01:111:e400:7e87::154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21 via Frontend Transport; Sat, 26 Sep 2020 02:20:10 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:DFBFA3F61FE30FC40F01FB9D85450C1500024D6EB092129E511CBD0A57CB19E1;UpperCasedChecksum:750546F4813107C0B5EFC81D3C44C34AACC58EDDC858A8155D290ED5BD91EDEC;SizeAsReceived:7823;Count:49 Received: from MWHPR07MB3440.namprd07.prod.outlook.com ([fe80::eda9:ccc8:2ef:2471]) by MWHPR07MB3440.namprd07.prod.outlook.com ([fe80::eda9:ccc8:2ef:2471%7]) with mapi id 15.20.3391.026; Sat, 26 Sep 2020 02:20:10 +0000 From: "Michael Kubacki" To: devel@edk2.groups.io CC: Liming Gao , Michael D Kinney , Guomin Jiang , Wei6 Xu , Zhiguang Liu Subject: [PATCH v4 1/6] MdePkg/SystemResourceTable.h: Add vendor range values Date: Fri, 25 Sep 2020 19:19:39 -0700 Message-ID: X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200926021944.3575-1-michael.kubacki@outlook.com> References: <20200926021944.3575-1-michael.kubacki@outlook.com> X-ClientProxiedBy: CO2PR04CA0154.namprd04.prod.outlook.com (2603:10b6:104::32) To MWHPR07MB3440.namprd07.prod.outlook.com (2603:10b6:301:69::28) Return-Path: michael.kubacki@outlook.com X-Microsoft-Original-Message-ID: <20200926021944.3575-2-michael.kubacki@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (2001:4898:80e8:1:9df7:74f4:6652:1fbe) by CO2PR04CA0154.namprd04.prod.outlook.com (2603:10b6:104::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14 via Frontend Transport; Sat, 26 Sep 2020 02:20:10 +0000 X-Mailer: git-send-email 2.28.0.windows.1 X-Microsoft-Original-Message-ID: <20200926021944.3575-2-michael.kubacki@outlook.com> X-TMN: [AUsqdnCwzV4NG1qBr+gwHY7W/hKGYCepyD1jUBHNWjhI8Cy0Ae3eklCtyjvBVpdE] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 49 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 7516ccec-ec6c-4f3d-a22d-08d861c2b1aa X-MS-TrafficTypeDiagnostic: MW2NAM10HT211: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dUxyV+8J9ZqOd6PaCZyp183HnI73Kq1h3shb//g9imWEMVH1iuZsJKlkyITn+udGvjuGhrGba8KYKMtvqx0HP/EXto4dYspweZu4PEoyb7UN0hZTONg8ZCUB+bfCM+IhICvIgNcEzv/0cznhyfutfBoC4kJeZwRh/Uce4h/rMmh5kJA0X+FNzFvrejGyGgm0dfNPS3N/bU9d5yfh1dyyug== X-MS-Exchange-AntiSpam-MessageData: WsOqQlGjbjeddwgyUr+0EFhRAfRxUFjLOgpKtcz0ifQwmwjdrbcID/fBqPBk3n7oQ8ns3MF8NdIbQWnVUqz7JOBIJsv2DvmaTJcp9kbBDIlfXFMprEOeRbpiNTpFdJcOjTvyPi+b8zy3X81W3bga57TsPvg+zwHGSRU1awwuTb/Hlv2F/yDp/qbRioXZC+aExnHSbVPwUuY5wSjmZ5jLPQ== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7516ccec-ec6c-4f3d-a22d-08d861c2b1aa X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2020 02:20:10.8193 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: MW2NAM10FT023.eop-nam10.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: MW2NAM10HT211 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 --- 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..17a26fe7e688 100644 --- a/MdePkg/Include/Guid/SystemResourceTable.h +++ b/MdePkg/Include/Guid/SystemResourceTable.h @@ -1,6 +1,7 @@ /** @file Guid & data structure used for EFI System Resource Table (ESRT) =20 + Copyright (c) Microsoft Corporation.
Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 @@ -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