From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id C727C94102C for ; Fri, 3 May 2024 03:48:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=zuPbB78uCirxkhIsdYNMcbiX0g/LQS9uhPtBu8S+0n8=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1714708099; v=1; b=0sWdnprIJPy7F1yDxLr3r+2N4d53jUgWo9mqBiUnbZE/hWONmEWH4q3QEPktxi5rzNGFa9bi fIbAWJQ7l+jr7LS+MEiV8zoYx66C2peYHfdZkDEBvRYifLykktJzYQfM5vvK9rvDXpVWRmcjVVu 7zO8lpaJ8ZVrEPCDPCKcybxhCSWkBhfCuz3vKwC9PY1VIsekFuG2bL8UIHU0RvYoGetNukmq7ye jquU+XE0VuDl8NNVGdKtrVrTbI+Fg21bQIOTcFcBBxYW7ojNnbV7vDNR3wP8fhe6krdXxhRRr6D NCagurXnBXXph3/a5jGKR+OWdIVHlCZ/TTC1dy1wNL06A== X-Received: by 127.0.0.2 with SMTP id wkemYY7687511xkHvKHRU2C5; Thu, 02 May 2024 20:48:19 -0700 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.40]) by mx.groups.io with SMTP id smtpd.web11.4933.1714708098208442239 for ; Thu, 02 May 2024 20:48:18 -0700 X-Received: from LV8PR12MB9452.namprd12.prod.outlook.com (2603:10b6:408:200::8) by CH2PR12MB4102.namprd12.prod.outlook.com (2603:10b6:610:a9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.30; Fri, 3 May 2024 03:48:15 +0000 X-Received: from LV8PR12MB9452.namprd12.prod.outlook.com ([fe80::e006:4173:de2c:aca0]) by LV8PR12MB9452.namprd12.prod.outlook.com ([fe80::e006:4173:de2c:aca0%5]) with mapi id 15.20.7519.031; Fri, 3 May 2024 03:48:15 +0000 From: "Chang, Abner via groups.io" To: Nickle Wang , "devel@edk2.groups.io" CC: Igor Kulchytskyy , Nick Ramirez Subject: Re: [edk2-devel] [PATCH] RedfishPkg: Rename x-uefi-redfish to x-UEFI-redfish Thread-Topic: [PATCH] RedfishPkg: Rename x-uefi-redfish to x-UEFI-redfish Thread-Index: AQHanP0qyVzknaGle0KX8xzhV3+VYLGE32oA Date: Fri, 3 May 2024 03:48:15 +0000 Message-ID: References: <20240503015617.42078-1-nicklew@nvidia.com> In-Reply-To: <20240503015617.42078-1-nicklew@nvidia.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=559e15ef-21d5-47ec-b3a2-8f348e5fbb7c;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2024-05-03T03:48:02Z;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LV8PR12MB9452:EE_|CH2PR12MB4102:EE_ x-ms-office365-filtering-correlation-id: 4295dcc0-5113-4a07-78a2-08dc6b23dcd9 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?/EPA1Z/XeT7s3f+1u/DvQlsXXasAf75fAy/qzfLv6cei8QuT/tFRitBeuXQQ?= =?us-ascii?Q?gDGc1J3JbNpwUjq6ev60gv/tdZoYeMEB/rbowza6oXUIxPXVfAbwRZC4QwK7?= =?us-ascii?Q?DsiGQLyJDT1G/fAkkaK86LwMplVvMNPOvk/rwf+lXHbVYsGQ1FSlcvaL8g0D?= =?us-ascii?Q?t/kyiUg+6qu+0VM8Qh8TpTya1prrwiN4CGiopnQcqYQRP8k9ycI2aIHRqx5c?= =?us-ascii?Q?3q2WWt8Ot8Ska8Ro565AcRwJbmthbrtG6ZPgAl+rjxEgzIkGT/5bR3xKf7zN?= =?us-ascii?Q?FMjPmpPEi8R6VAbsRaDQBiC4NLJPmixWSDhca3TJhRQjbdLQL41ZLsUcS5LJ?= =?us-ascii?Q?Aqk0iszHgzu4iWx9MefmX2nb7NqzRzYi+Loh925jzvlFCsDUfsRdyKaMoTru?= =?us-ascii?Q?YaAPAL+fq8c7aNp8u3B/JHmUAXW/ASv/7vV+xm2pzWxVO8lht0xqrqI0TPFi?= =?us-ascii?Q?orj7AxGPGcqk1AiUTOsQCRH01VGavO47i12qS6Mo6hS6CRexvqMy6b3mUX7e?= =?us-ascii?Q?DpeW/3QcnfJm5cSQorIqazfop71eGcMqnHjWsqOJiSUelpbNgmv8iMXQ4Gs3?= =?us-ascii?Q?ICh64zU3D9FNuCMoafTDULKU6kvugqNQxSO4NwnYpA06UJs2Jf0/iRUECowg?= =?us-ascii?Q?JFLhm+pgFSOIKxpYM7SCM/U1S/NRxl3kv9D+bS1PcXqHGxcBV+MtmUKXcPxD?= =?us-ascii?Q?yTSJUD6eAwav1Ppbneigr1qFH7Cmh6niKeXgDLqklEAqGa4y1uCyVi4RnvM2?= =?us-ascii?Q?hXD2L5pmtV85HIWBZzeKjTxAU8o5lXTMm3I8tOQUCbV8wI5bU3xbmYmVjrjO?= =?us-ascii?Q?3bwRXIBMVV7Ur4R6PmZocN8t6ITd9GLtg6rX6fh3JoBj/KWrs5A1qz18JZ1D?= =?us-ascii?Q?kGaujr+2vqbtbes6fr2mw7k78W+ixBMUGY0sJiQT7Rbd7u7qwKnSx7le+yFc?= =?us-ascii?Q?0HSuiabTTBBgj01CRUIoL1Jo7dHc7pwQ5FvV2hWEyU01D6ebWr3cdYjp3tyU?= =?us-ascii?Q?sn+kwR7KIjGpF9mYRXH2075QYzB1H5U8a0NwkpXzyGtkKNqtvTowg2JaESsO?= =?us-ascii?Q?B3NOF0RqNrd5E0GXwqF3qVcPtAFzha6IghKq6tS63S6S5TIjsQbKjmMC/Qdc?= =?us-ascii?Q?xqgKfpRqjhiOGvMt+iEGy1D5aQL8R8FD2fx3jXCIe0PV5innM1pxQIkm8ZOZ?= =?us-ascii?Q?NUGltD4rGqk8+jA8xoy1b3xxeR7IEu9tZD5ZfyId9P//mhkwtZAb+uzmbCzH?= =?us-ascii?Q?odEDuNawOTxhErMV/4DhPTHdK83hDkJJjkTUcicAEj6ZMC43J4l1VrO/BRfJ?= =?us-ascii?Q?DTkNCQgxsS8Gjd8t64FXgZosyiaQ/diOu2dS7f/h6wVufA=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?h908Lf3JPrDUEY3iH9+6XJDmhynN5901E/dOXo24cHBW/0VYK1xb7CGrACjh?= =?us-ascii?Q?6cTQGokMa/eWisdXtiTHnn99AIzBZK8NQiGQ7mBqcSIR21NyNZ8WiKq9Lgf7?= =?us-ascii?Q?YDCShSAiAh8KIwK0y7gj0wherGA4EEQfJiJx89b9cpBl2p0NXuTmxCtWoIuq?= =?us-ascii?Q?KWxZ6FXP8g+3aOEuUPHFq/zhzbIUqefl8I0EESQD1icP0VWBTspNSK5XJ9yO?= =?us-ascii?Q?bgGL0rAkgxsq5a6ocIgbx9EA5vJaZwa0GuFK1Oe5wIab3rANariKlEbqx0WJ?= =?us-ascii?Q?VBKj11hujgsBdm12IBD7s2xa42o86ynptrNWzBwW1Tex6kUjuW/k34ZS7oNi?= =?us-ascii?Q?KFTmdoTAUOLlV8db1VtSB0fnbIZzh1rqwAs1mu7qw2gpzrbBEnw02Xuyd3Ua?= =?us-ascii?Q?4nFTqarHJG+kiSvncLeQ6RQdn7hyJ4vLMEiucI/WNwuJvCpBsex2LkHsLpTM?= =?us-ascii?Q?sCK+d+o3+PjmC3GKghodOxT6bHNGVroP3ME2K35co+UzlVdVw0eqjsA94+md?= =?us-ascii?Q?xpA77jyEjrW6z1DVVMBB9C5blXUqKyFg17+3j4XBY9MUKRgiEsVgEI2T48K0?= =?us-ascii?Q?C9XVzv7tWbsFzKVeVfo92iNWpGmjdWIN5aL+jJzLVZQIsZ0ui3g56dbPhHj6?= =?us-ascii?Q?mhrdb0R9iwWBQ4/6YF2y893ImiJGiRMTF4gJIAEn8bDPZrCRbS6Ck51BE2WK?= =?us-ascii?Q?14O0n8YTWyWkeN1FsN+RLEvo8zicjQ7O6ih2GoUTvZDa/Sqvf2XUhxiNr4Ye?= =?us-ascii?Q?KrCyUERj9Jxq7li41ExEHzzwF4+KFeHc+MZwBwiFzSGj6aQil9exwXARGd33?= =?us-ascii?Q?XcI6XLVNYrM9lpg8BGlTINqSdGvmt/54M3Q6iznVIFVgqI+K8v9cDUvk6Bak?= =?us-ascii?Q?QUANW5BK23l2ScJ9c2Y4CWkdLDQxfgzcXOMSof/A0iwc2EOlcvZp/YcVs8Tu?= =?us-ascii?Q?Z0DizLOVGGScUXC/vgQ0+I8J6ZL3hAxyLnPnjoSRJLNJKgEz/2Ted8IAVJCy?= =?us-ascii?Q?4JiYpAbW5yJQPfGupKDUJjFSRCpVVKHG/8S+TaPsvs0nP2lmieLUdDRP9CvZ?= =?us-ascii?Q?NGo6RDMJwgEYaTe9McjBJPecz5pc2c/KE1K8bkobyxc/pbjsenDWUhO+skPB?= =?us-ascii?Q?I7VGsI/9MxN8txGkkdb9jPk7pBKpSRhLR0Oe540S0iEHUqPMMJBKix5+HIyZ?= =?us-ascii?Q?0ywwq1g8XPkKtF2IZ1EardUlYzgVdRuXh85C8Vg7s/KCNDPMx2ixJ+DOG+NY?= =?us-ascii?Q?c9d9sWAD/+FyeHuJCSNV3x0LFSacgGpEz53q+00B8k8fXd24A3qQy27vwBYu?= =?us-ascii?Q?U7JzPxTRO9eUO5IfVsLLVX+YEmGDhFwoBBAEFgMZ2+jhaT5F68aUybGxQPW7?= =?us-ascii?Q?V17fDS4r+2GlB/Y3kOFPZlA+lX0rW2L13gye3j/JrQf2b8rq1Y3HDpcuG1nI?= =?us-ascii?Q?GhUXFa7+xMgXbYGkzQOK6bdXSmJ7V3KCbhSltnvvKXG1t99b4R+RTpD1+xda?= =?us-ascii?Q?obpwL+01CpDMEIVqE29ctuk0tyrhY7g/eBZcxaraZbS3g8FqtHXmphRjC1VD?= =?us-ascii?Q?y+6oPuaDVpVzA+WSK+fo/7fxhzqz4UPQOHL87AYP?= MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LV8PR12MB9452.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4295dcc0-5113-4a07-78a2-08dc6b23dcd9 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2024 03:48:15.2658 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: k392M/Io6OvBkHz4WNbHTgj85qZMMjBiyQLOArxW7gRfA0Yzn9V2jz+9PFFBs5Ih2BhEVady3lwbJk8NeidG8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4102 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Thu, 02 May 2024 20:48:18 -0700 Resent-From: abner.chang@amd.com Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: CLGR6DbhEPxlD5gpXadrKEANx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=0sWdnprI; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io [AMD Official Use Only - General] Reviewed-by: Abner Chang > -----Original Message----- > From: Nickle Wang > Sent: Friday, May 3, 2024 9:56 AM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > ; Nick Ramirez > Subject: [PATCH] RedfishPkg: Rename x-uefi-redfish to x-UEFI-redfish > > Caution: This message originated from an External Source. Use proper caut= ion > when opening attachments, clicking links, or responding. > > > Rename x-uefi-redfish to x-UEFI-redfish to match the format of > UEFI configuration namespace prefix. > > RFC: https://edk2.groups.io/g/rfc/message/849 > > Signed-off-by: Jeff Brasen > Co-authored-by: Nickle Wang > Cc: Abner Chang > Cc: Igor Kulchytskyy > Cc: Nick Ramirez > --- > RedfishPkg/RedfishPkg.dec | 6 +- > .../Library/RedfishPlatformConfigLib.h | 4 +- > .../Protocol/EdkIIRedfishPlatformConfig.h | 4 +- > .../RedfishPlatformConfigDxe.h | 2 +- > .../RedfishPlatformConfigImpl.h | 16 ++-- > .../RedfishPlatformConfigLib.c | 4 +- > .../RedfishPlatformConfigDxe.c | 4 +- > .../RedfishPlatformConfigImpl.c | 86 +++++++++---------- > 8 files changed, 63 insertions(+), 63 deletions(-) > > diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec > index c048e43f53..54318527fe 100644 > --- a/RedfishPkg/RedfishPkg.dec > +++ b/RedfishPkg/RedfishPkg.dec > @@ -195,10 +195,10 @@ > > gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDebugCategory|0|UINT64|0x000 > 01012 > # > # Redfish RedfishPlatformConfigDxe Debug Properties > - # 0x00000001 x-uefi-redfish string database message enabled > + # 0x00000001 x-UEFI-redfish string database message enabled > # 0x00000002 Debug Message for dumping formset > - # 0x00000004 Debug Message for x-uefi-redfish searching result > - # 0x00000008 Debug Message for x-uefi-redfish Regular Expression > searching result > + # 0x00000004 Debug Message for x-UEFI-redfish searching result > + # 0x00000008 Debug Message for x-UEFI-redfish Regular Expression > searching result > # > > gEfiRedfishPkgTokenSpaceGuid.PcdRedfishPlatformConfigDebugProperty|0| > UINT32|0x00001013 > # > diff --git a/RedfishPkg/Include/Library/RedfishPlatformConfigLib.h > b/RedfishPkg/Include/Library/RedfishPlatformConfigLib.h > index 51a1861639..b6e60635ea 100644 > --- a/RedfishPkg/Include/Library/RedfishPlatformConfigLib.h > +++ b/RedfishPkg/Include/Library/RedfishPlatformConfigLib.h > @@ -2,7 +2,7 @@ > Definitions of RedfishPlatformConfigLib > > (C) Copyright 2021 Hewlett Packard Enterprise Development LP
> - Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights > reserved. > + Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights > reserved. > > SPDX-License-Identifier: BSD-2-Clause-Patent > > @@ -82,7 +82,7 @@ RedfishPlatformConfigGetConfigureLang ( > Get the list of supported Redfish schema from platform configuration. > > @param[out] SupportedSchema The supported schema list which is > separated by ';'. > - For example: "x-uefi-redfish-Memory.v= 1_7_1;x-uefi- > redfish-Boot.v1_0_1" > + For example: "x-UEFI-redfish-Memory.v= 1_7_1;x-UEFI- > redfish-Boot.v1_0_1" > The SupportedSchema is allocated by t= he callee. It's caller's > responsibility to free this buffer us= ing FreePool(). > > diff --git a/RedfishPkg/Include/Protocol/EdkIIRedfishPlatformConfig.h > b/RedfishPkg/Include/Protocol/EdkIIRedfishPlatformConfig.h > index d20b2c980e..a1d5592c7e 100644 > --- a/RedfishPkg/Include/Protocol/EdkIIRedfishPlatformConfig.h > +++ b/RedfishPkg/Include/Protocol/EdkIIRedfishPlatformConfig.h > @@ -2,7 +2,7 @@ > This file defines the EDKII_REDFISH_PLATFORM_CONFIG_PROTOCOL > interface. > > (C) Copyright 2021-2022 Hewlett Packard Enterprise Development LP
> - Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights > reserved. > + Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights > reserved. > > SPDX-License-Identifier: BSD-2-Clause-Patent > > @@ -227,7 +227,7 @@ EFI_STATUS > > @param[in] This Pointer to > EDKII_REDFISH_PLATFORM_CONFIG_PROTOCOL instance. > @param[out] SupportedSchema The supported schema list which is > separated by ';'. > - For example: "x-uefi-redfish-Memory.v= 1_7_1;x-uefi- > redfish-Boot.v1_0_1" > + For example: "x-UEFI-redfish-Memory.v= 1_7_1;x-UEFI- > redfish-Boot.v1_0_1" > The SupportedSchema is allocated by t= he callee. It's caller's > responsibility to free this buffer us= ing FreePool(). > > diff --git > a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigDxe.h > b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigDxe.h > index 8eb7b0dc2a..e3e185a03b 100644 > --- a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigDxe.h > +++ b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigDxe.h > @@ -111,7 +111,7 @@ typedef struct { > > #define REDFISH_PLATFORM_CONFIG_PRIVATE_FROM_THIS(a) BASE_CR (a, > REDFISH_PLATFORM_CONFIG_PRIVATE, Protocol) > #define REGULAR_EXPRESSION_INCLUDE_ALL L".*" > -#define CONFIGURE_LANGUAGE_PREFIX "x-uefi-redfish-" > +#define CONFIGURE_LANGUAGE_PREFIX "x-UEFI-redfish-" > #define REDFISH_PLATFORM_CONFIG_VERSION 0x00010000 > > #define REDFISH_MENU_PATH_SIZE 8 > diff --git > a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.h > b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.h > index 24a7dae517..525ca43fa9 100644 > --- a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.h > +++ b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.h > @@ -29,7 +29,7 @@ > > #define IS_EMPTY_STRING(a) (a =3D=3D NULL || a[0] =3D=3D L'\0') > #define ENGLISH_LANGUAGE_CODE "en-US" > -#define X_UEFI_SCHEMA_PREFIX "x-uefi-redfish-" > +#define X_UEFI_SCHEMA_PREFIX "x-UEFI-redfish-" > > #define MAX_X_UEFI_REDFISH_STRING_SIZE (128 * 2)// 128 character in > UCS. > > @@ -55,7 +55,7 @@ typedef struct { > #define X_UEFI_REDFISH_STRING_ARRAY_ENTRY_NUMBER 1024 > > // > -// Definition of x-uefi-redfish string element. > +// Definition of x-UEFI-redfish string element. > // > typedef struct { > EFI_STRING_ID StringId; > @@ -71,14 +71,14 @@ typedef struct { > } REDFISH_X_UEFI_STRINGS_ARRAY; > > // > -// x-uefi-redfish string database, x-uefi-redfish language based. > +// x-UEFI-redfish string database, x-UEFI-redfish language based. > // > typedef struct { > - LIST_ENTRY NextXuefiRedfishLanguage; = // Link to the > next suppoted x-uefi-Redfish language. > - CHAR8 *XuefiRedfishLanguage; = // x-uefi-redfish > language. > + LIST_ENTRY NextXuefiRedfishLanguage; = // Link to the > next suppoted x-UEFI-Redfish language. > + CHAR8 *XuefiRedfishLanguage; = // x-UEFI-redfish > language. > UINTN StringsArrayBlocks; = // Number of the array > blocks that accommodate X_UEFI_REDFISH_STRING_ARRAY_NUMBER > = // elements in each. > - LIST_ENTRY XuefiRedfishStringArrays; = // Link entry of x- > uefi-redfish string array. > + LIST_ENTRY XuefiRedfishStringArrays; = // Link entry of x- > UEFI-redfish string array. > } REDFISH_X_UEFI_STRING_DATABASE; > > // > @@ -93,7 +93,7 @@ typedef struct { > LIST_ENTRY HiiFormList; // Form = list that keep form data > under this formset. > CHAR16 *DevicePathStr; // Devic= e path of this formset. > REDFISH_PLATFORM_CONFIG_SCHEMA SupportedSchema; // > Schema that is supported in this formset. > - LIST_ENTRY XuefiRedfishStringDatabase; // x-uef= i-redfish > string/Id data base; > + LIST_ENTRY XuefiRedfishStringDatabase; // x-UEF= I-redfish > string/Id data base; > } REDFISH_PLATFORM_CONFIG_FORM_SET_PRIVATE; > > #define REDFISH_PLATFORM_CONFIG_FORMSET_FROM_LINK(a) BASE_CR > (a, REDFISH_PLATFORM_CONFIG_FORM_SET_PRIVATE, Link) > @@ -133,7 +133,7 @@ struct > _REDFISH_PLATFORM_CONFIG_STATEMENT_PRIVATE { > HII_STATEMENT *HiiStatement; // Pointe= r to HII statement > data. > EFI_QUESTION_ID QuestionId; // Questi= on ID of this > statement. > EFI_STRING_ID Description; // String= token of this question. > - CHAR16 *XuefiRedfishStr; // x-uefi= -redfish string of this > question. > + CHAR16 *XuefiRedfishStr; // x-UEFI= -redfish string of this > question. > EFI_STRING_ID Help; // String= token of help message. > UINT8 Flags; // The st= atement flag. > REDFISH_PLATFORM_CONFIG_STATEMENT_DATA StatementData; // The > max/min for statement value. > diff --git > a/RedfishPkg/Library/RedfishPlatformConfigLib/RedfishPlatformConfigLib.c > b/RedfishPkg/Library/RedfishPlatformConfigLib/RedfishPlatformConfigLib.c > index 3500b6aa8f..decb1fd012 100644 > --- > a/RedfishPkg/Library/RedfishPlatformConfigLib/RedfishPlatformConfigLib.c > +++ > b/RedfishPkg/Library/RedfishPlatformConfigLib/RedfishPlatformConfigLib.c > @@ -2,7 +2,7 @@ > Wrapper function to support Redfish Platform Config protocol. > > (C) Copyright 2021 Hewlett Packard Enterprise Development LP
> - Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights > reserved. > + Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights > reserved. > > SPDX-License-Identifier: BSD-2-Clause-Patent > > @@ -191,7 +191,7 @@ RedfishPlatformConfigGetConfigureLang ( > Get the list of supported Redfish schema from platform configuration. > > @param[out] SupportedSchema The supported schema list which is > separated by ';'. > - For example: "x-uefi-redfish-Memory.v= 1_7_1;x-uefi- > redfish-Boot.v1_0_1" > + For example: "x-UEFI-redfish-Memory.v= 1_7_1;x-UEFI- > redfish-Boot.v1_0_1" > The SupportedSchema is allocated by t= he callee. It's caller's > responsibility to free this buffer us= ing FreePool(). > > diff --git a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigDxe= .c > b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigDxe.c > index 8bcee5a16a..46d01fca60 100644 > --- a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigDxe.c > +++ b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigDxe.c > @@ -1419,7 +1419,7 @@ HiiValueToRedfishValue ( > RedfishValue->Value.Buffer =3D HiiGetRedfishAsciiString (HiiHandle= , > FullSchema, HiiStatement->ExtraData.TextTwo); > if (RedfishValue->Value.Buffer =3D=3D NULL) { > // > - // No x-uefi-redfish string defined. Try to get string in Englis= h. > + // No x-UEFI-redfish string defined. Try to get string in Englis= h. > // > RedfishValue->Value.Buffer =3D HiiGetEnglishAsciiString (HiiHand= le, > HiiStatement->ExtraData.TextTwo); > } > @@ -2112,7 +2112,7 @@ RELEASE_RESOURCE: > > @param[in] This Pointer to > EDKII_REDFISH_PLATFORM_CONFIG_PROTOCOL instance. > @param[out] SupportedSchema The supported schema list which is > separated by ';'. > - For example: "x-uefi-redfish-Memory.v= 1_7_1;x-uefi- > redfish-Boot.v1_0_1" > + For example: "x-UEFI-redfish-Memory.v= 1_7_1;x-UEFI- > redfish-Boot.v1_0_1" > The SupportedSchema is allocated by t= he callee. It's caller's > responsibility to free this buffer us= ing FreePool(). > > diff --git > a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.c > b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.c > index 5fcaf42610..6a90e31f6a 100644 > --- a/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.c > +++ b/RedfishPkg/RedfishPlatformConfigDxe/RedfishPlatformConfigImpl.c > @@ -657,7 +657,7 @@ GetStatementPrivateByConfigureLangRegex ( > } > } else { > if (!RedfishPlatformConfigFeatureProp > (REDFISH_PLATFORM_CONFIG_BUILD_MENU_PATH)) { > - DEBUG ((DEBUG_ERROR, "%a: HiiStatementPrivate->XuefiRedfis= hStr is > NULL, x-uefi-string has something wrong.\n", __func__)); > + DEBUG ((DEBUG_ERROR, "%a: HiiStatementPrivate->XuefiRedfis= hStr > is NULL, x-UEFI-string has something wrong.\n", __func__)); > ASSERT (FALSE); > } > } > @@ -758,7 +758,7 @@ GetStatementPrivateByConfigureLang ( > } > } else { > if (!RedfishPlatformConfigFeatureProp > (REDFISH_PLATFORM_CONFIG_BUILD_MENU_PATH)) { > - DEBUG ((DEBUG_ERROR, "%a: HiiStatementPrivate->XuefiRedfis= hStr is > NULL, x-uefi-string has something wrong.\n", __func__)); > + DEBUG ((DEBUG_ERROR, "%a: HiiStatementPrivate->XuefiRedfis= hStr > is NULL, x-UEFI-string has something wrong.\n", __func__)); > ASSERT (FALSE); > } > } > @@ -819,7 +819,7 @@ GetFormsetPrivateByHiiHandle ( > } > > /** > - Release x-uefi-string related information. > + Release x-UEFI-string related information. > > @param[in] FormsetPrivate Pointer to HII form-set private instanc= e. > > @@ -842,7 +842,7 @@ ReleaseXuefiStringDatabase ( > FreePool (FormsetPrivate->HiiPackageListHeader); > } > > - // Walk through x-uefi-redfish string database. > + // Walk through x-UEFI-redfish string database. > if (!IsListEmpty (&FormsetPrivate->XuefiRedfishStringDatabase)) { > EndDatabase =3D FALSE; > ThisDatabase =3D (REDFISH_X_UEFI_STRING_DATABASE *)GetFirstNode > (&FormsetPrivate->XuefiRedfishStringDatabase); > @@ -989,9 +989,9 @@ NewFormsetPrivate ( > } > > /** > - Create new x-uefi-redfish string array. > + Create new x-UEFI-redfish string array. > > - @param[in] XuefiRedfishStringDatabase The x-uefi-redfish string > database. > + @param[in] XuefiRedfishStringDatabase The x-UEFI-redfish string > database. > > @retval EFI_OUT_OF_RESOURCES Not enough memory for creating a > new array. > EFI_SUCCESS New array is created successfull= y. > @@ -1028,13 +1028,13 @@ NewRedfishXuefiStringArray ( > } > > /** > - Get the pointer of x-uefi-redfish database or create a new database. > + Get the pointer of x-UEFI-redfish database or create a new database. > > @param[in] FormsetPrivate Pointer to HII form-set privat= e instance. > @param[in] HiiStringPackageHeader HII string package header. > > @retval Pointer to REDFISH_X_UEFI_STRING_DATABASE. > - If NULL, it fails to obtain x-uefi-redfish database. > + If NULL, it fails to obtain x-UEFI-redfish database. > > **/ > REDFISH_X_UEFI_STRING_DATABASE * > @@ -1068,7 +1068,7 @@ GetExistOrCreateXuefiStringDatabase ( > } > > if (CreateNewOne) { > - DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, " Creating x-uefi-redfish > (%a) string database...\n", HiiStringPackageHeader->Language)); > + DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, " Creating x-UEFI-redfish > (%a) string database...\n", HiiStringPackageHeader->Language)); > XuefiRedfishStringDatabase =3D (REDFISH_X_UEFI_STRING_DATABASE > *)AllocateZeroPool (sizeof (REDFISH_X_UEFI_STRING_DATABASE)); > if (XuefiRedfishStringDatabase =3D=3D NULL) { > DEBUG ((DEBUG_ERROR, " Failed to allocate > REDFISH_X_UEFI_STRING_DATABASE.\n")); > @@ -1088,7 +1088,7 @@ GetExistOrCreateXuefiStringDatabase ( > > DEBUG (( > DEBUG_REDFISH_PLATFORM_CONFIG, > - " x-uefi-redfish (%a):\n String array is added to > XuefiRedfishStringDatabase, total %d arrays now.\n", > + " x-UEFI-redfish (%a):\n String array is added to > XuefiRedfishStringDatabase, total %d arrays now.\n", > XuefiRedfishStringDatabase->XuefiRedfishLanguage, > XuefiRedfishStringDatabase->StringsArrayBlocks > )); > @@ -1101,14 +1101,14 @@ GetExistOrCreateXuefiStringDatabase ( > } > > /** > - Check and allocate a new x-uefi-redfish array if it is insufficient fo= r the > - newly added x-uefi-redfish string. > + Check and allocate a new x-UEFI-redfish array if it is insufficient fo= r the > + newly added x-UEFI-redfish string. > > @param[in] FormsetPrivate Pointer to HII form-set pr= ivate instance. > - @param[in] XuefiRedfishStringDatabase Pointer to the x-uefi-redf= ish > database. > + @param[in] XuefiRedfishStringDatabase Pointer to the x-UEFI-redf= ish > database. > @param[in] StringId String ID added to databas= e. > > - @retval EFI_SUCCESS The size of x-uefi-string = array is adjusted > or > + @retval EFI_SUCCESS The size of x-UEFI-string = array is adjusted > or > is not required to be adju= sted. > Otherwise, refer to the error code returned from > NewRedfishXuefiStringArray(). > > @@ -1125,7 +1125,7 @@ RedfishXuefiStringAdjustArrays ( > while (((StringId + X_UEFI_REDFISH_STRING_ARRAY_ENTRY_NUMBER) / > X_UEFI_REDFISH_STRING_ARRAY_ENTRY_NUMBER) > > (UINT16)XuefiRedfishStringDatabase->StringsArrayBlocks) { > Status =3D NewRedfishXuefiStringArray (XuefiRedfishStringDatabase); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a: Failed to adjust x-uefi-string array", > __func__)); > + DEBUG ((DEBUG_ERROR, "%a: Failed to adjust x-UEFI-string array", > __func__)); > return Status; > } > } > @@ -1134,7 +1134,7 @@ RedfishXuefiStringAdjustArrays ( > } > > /** > - Insert a x-uefi-redfish string to database. > + Insert a x-UEFI-redfish string to database. > > @param[in] FormsetPrivate Pointer to HII form-set privat= e instance. > @param[in] HiiStringPackageHeader Pointer to HII string package. > @@ -1161,19 +1161,19 @@ RedfishXuefiStringInsertDatabase ( > > XuefiRedfishStringDatabase =3D GetExistOrCreateXuefiStringDatabase > (FormsetPrivate, HiiStringPackageHeader); > if (XuefiRedfishStringDatabase =3D=3D NULL) { > - DEBUG ((DEBUG_ERROR, "%a: Failed to get > REDFISH_X_UEFI_STRING_DATABASE of x-uefi-redfish language %a.\n", > __func__, HiiStringPackageHeader->Language)); > + DEBUG ((DEBUG_ERROR, "%a: Failed to get > REDFISH_X_UEFI_STRING_DATABASE of x-UEFI-redfish language %a.\n", > __func__, HiiStringPackageHeader->Language)); > ReleaseXuefiStringDatabase (FormsetPrivate); > return EFI_LOAD_ERROR; > } > > Status =3D RedfishXuefiStringAdjustArrays (FormsetPrivate, > XuefiRedfishStringDatabase, StringId); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a: Failed to adjust x-uefi-redfish string > array.\n", __func__)); > + DEBUG ((DEBUG_ERROR, "%a: Failed to adjust x-UEFI-redfish string > array.\n", __func__)); > ReleaseXuefiStringDatabase (FormsetPrivate); > return EFI_LOAD_ERROR; > } > > - // Insert string to x-uefi-redfish string array. > + // Insert string to x-UEFI-redfish string array. > StringIdOffset =3D (UINTN)StringId; > ThisArray =3D (REDFISH_X_UEFI_STRINGS_ARRAY *)GetFirstNode > (&XuefiRedfishStringDatabase->XuefiRedfishStringArrays); > while (StringIdOffset >=3D X_UEFI_REDFISH_STRING_ARRAY_ENTRY_NUMBER) > { > @@ -1187,7 +1187,7 @@ RedfishXuefiStringInsertDatabase ( > > DEBUG_REDFISH_THIS_MODULE ( > REDFISH_PLATFORM_CONFIG_DEBUG_STRING_DATABASE, > - " Insert string ID: (%d) to database\n x-uefi-string: \"%s\"\n = Language: > %a.\n", > + " Insert string ID: (%d) to database\n x-UEFI-string: \"%s\"\n = Language: > %a.\n", > StringId, > StringTextPtr, > HiiStringPackageHeader->Language > @@ -1196,14 +1196,14 @@ RedfishXuefiStringInsertDatabase ( > } > > /** > - Get x-uefi-redfish string and language by string ID. > + Get x-UEFI-redfish string and language by string ID. > > @param[in] FormsetPrivate Pointer to HII form-set priva= te instance. > @param[in] HiiStringPackageHeader HII string package header. > @param[out] TotalStringAdded Return the total strings adde= d to > database. > > - @retval TRUE x-uefi-redfish string and ID map is inserted to databa= se. > - FALSE Something is wrong when insert x-uefi-redfish string a= nd ID map. > + @retval TRUE x-UEFI-redfish string and ID map is inserted to databa= se. > + FALSE Something is wrong when insert x-UEFI-redfish string a= nd ID > map. > > **/ > BOOLEAN > @@ -1288,7 +1288,7 @@ CreateXuefiLanguageStringIdMap ( > Offset =3D sizeof (EFI_HII_STRING_BLOCK); > StringTextPtr =3D BlockHdr + Offset; > > - // x-uefi-redfish string is always encoded as UCS and started wi= th '/'. > + // x-UEFI-redfish string is always encoded as UCS and started wi= th '/'. > if (*StringTextPtr =3D=3D (UINT16)'/') { > Status =3D RedfishXuefiStringInsertDatabase ( > FormsetPrivate, > @@ -1297,7 +1297,7 @@ CreateXuefiLanguageStringIdMap ( > (CHAR16 *)StringTextPtr > ); > if (EFI_ERROR (Status)) { > - DEBUG ((DEBUG_ERROR, "%a: Failed to insert x-uefi-redfish st= ring > %s.\n", __func__, StringTextPtr)); > + DEBUG ((DEBUG_ERROR, "%a: Failed to insert x-UEFI-redfish st= ring > %s.\n", __func__, StringTextPtr)); > return FALSE; > } > > @@ -1398,13 +1398,13 @@ CreateXuefiLanguageStringIdMap ( > } > > /** > - Get x-uefi-redfish string and language by string ID. > + Get x-UEFI-redfish string and language by string ID. > > @param[in] FormsetPrivate Pointer to HII form-set private i= nstance. > @param[in] StringId The HII string ID. > @param[out] String Optionally return USC string. > - @param[out] Language Optionally return x-uefi-redfish = language. > - @param[out] XuefiStringDatabase Optionally return x-uefi-redfish > database. > + @param[out] Language Optionally return x-UEFI-redfish = language. > + @param[out] XuefiStringDatabase Optionally return x-UEFI-redfish > database. > > @retval EFI_SUCCESS String information is returned. > EFI_INVALID_PARAMETER One of the given parameters to this fu= nction > is > @@ -1456,7 +1456,7 @@ GetXuefiStringAndLangByStringId ( > // > // NOTE: The string ID in the formset is a unique number. > // If the string in the array is NULL, then the matched string= ID > - // should be in another x-uefi-redfish database. > + // should be in another x-UEFI-redfish database. > // > if ((StringArray->ArrayEntryAddress + StringIndex)->UcsString !=3D N= ULL) { > // > @@ -1489,7 +1489,7 @@ ErrorExit:; > } > > /** > - Build a x-uefi-redfish database for the newly added x-uefi-redfish lan= guage. > + Build a x-UEFI-redfish database for the newly added x-UEFI-redfish > language. > > @param[in] FormsetPrivate Pointer to HII form-set privat= e instance. > > @@ -1510,7 +1510,7 @@ BuildXUefiRedfishStringDatabase ( > UINTN TotalStringsAdded; > UINTN NumberPackageStrings; > > - DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, "%a: Building x-uefi-redfish > string database, HII Formset GUID - %g.\n", __func__, FormsetPrivate- > >Guid)); > + DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, "%a: Building x-UEFI- > redfish string database, HII Formset GUID - %g.\n", __func__, FormsetPriv= ate- > >Guid)); > > BufferSize =3D 0; > Status =3D mRedfishPlatformConfigPrivate->HiiDatabase->ExportPacka= geLists > ( > @@ -1555,7 +1555,7 @@ BuildXUefiRedfishStringDatabase ( > StringIdMapIsBuilt =3D FALSE; > HiiStringPackageHeader =3D (EFI_HII_STRING_PACKAGE_HDR > *)PackageHeader; > > - // Check if this is the string package for x-uefi-redfish > + // Check if this is the string package for x-UEFI-redfish > for (SupportedSchemaLangCount =3D 0; > SupportedSchemaLangCount < FormsetPrivate- > >SupportedSchema.Count; > SupportedSchemaLangCount++ > @@ -1578,9 +1578,9 @@ BuildXUefiRedfishStringDatabase ( > > if (StringIdMapIsBuilt =3D=3D FALSE) { > if (AsciiStrStr (HiiStringPackageHeader->Language, > X_UEFI_SCHEMA_PREFIX) =3D=3D NULL) { > - DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, " No need to build x= - > uefi-redfish string ID map for HII language %a\n", HiiStringPackageHeader= - > >Language)); > + DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, " No need to build x= - > UEFI-redfish string ID map for HII language %a\n", HiiStringPackageHeader= - > >Language)); > } else { > - DEBUG ((DEBUG_ERROR, " Failed to build x-uefi-redfish strin= g ID map > of HII language %a\n", HiiStringPackageHeader->Language)); > + DEBUG ((DEBUG_ERROR, " Failed to build x-UEFI-redfish strin= g ID map > of HII language %a\n", HiiStringPackageHeader->Language)); > } > } > > @@ -1589,7 +1589,7 @@ BuildXUefiRedfishStringDatabase ( > } > } > > - DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, " Total %d x-uefi-redfish > config language are added.\n", TotalStringsAdded)); > + DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, " Total %d x-UEFI-redfish > config language are added.\n", TotalStringsAdded)); > } > > /** > @@ -1599,7 +1599,7 @@ BuildXUefiRedfishStringDatabase ( > @param[out] FormsetPrivate The formset private data. > > @retval EFI_STATUS The formset is loaded successfully. > - @retval EFI_UNSUPPORTED This formset doesn't have any x-uefi-redfi= sh > configuration. > + @retval EFI_UNSUPPORTED This formset doesn't have any x-UEFI-redfi= sh > configuration. > > **/ > EFI_STATUS > @@ -1656,15 +1656,15 @@ LoadFormset ( > Status =3D GetSupportedSchema (FormsetPrivate->= HiiHandle, > &FormsetPrivate->SupportedSchema); > if (EFI_ERROR (Status)) { > if (!RedfishPlatformConfigFeatureProp > (REDFISH_PLATFORM_CONFIG_BUILD_MENU_PATH)) { > - DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, "%a: No x-uefi-redfish > configuration found on the formset - %g\n", __func__, FormsetPrivate- > >Guid)); > + DEBUG ((DEBUG_REDFISH_PLATFORM_CONFIG, "%a: No x-UEFI-redfish > configuration found on the formset - %g\n", __func__, FormsetPrivate- > >Guid)); > // > - // If there is no x-uefi-redfish language in this form-set, we don= 't add > formset > + // If there is no x-UEFI-redfish language in this form-set, we don= 't add > formset > // since we don't need to build menu path for attribute registry. > // > return EFI_UNSUPPORTED; > } > } else { > - // Building x-uefi-redfish string database > + // Building x-UEFI-redfish string database > BuildXUefiRedfishStringDatabase (FormsetPrivate); > } > > @@ -1739,7 +1739,7 @@ LoadFormset ( > } > } > > - // Get x-uefi-redfish string using String ID. > + // Get x-UEFI-redfish string using String ID. > Status =3D GetXuefiStringAndLangByStringId (FormsetPrivate, > HiiStatementPrivate->Description, &String, NULL, NULL); > if (!EFI_ERROR (Status)) { > HiiStatementPrivate->XuefiRedfishStr =3D String; > @@ -1750,13 +1750,13 @@ LoadFormset ( > } else { > if (!RedfishPlatformConfigFeatureProp > (REDFISH_PLATFORM_CONFIG_BUILD_MENU_PATH)) { > // > - // If there is no x-uefi-redfish language for this statement, = we don't add > this statement > + // If there is no x-UEFI-redfish language for this statement, = we don't add > this statement > // since we don't need to build menu path for attribute regist= ry. > // > FreePool (HiiStatementPrivate); > } else { > // > - // This is not x-uefi-redfish string and we don't cache its st= ring for > searching Redfish configure language. > + // This is not x-UEFI-redfish string and we don't cache its st= ring for > searching Redfish configure language. > // When caller wants the string, we will read English string b= y calling > HiiGetString(). > // > HiiStatementPrivate->XuefiRedfishStr =3D NULL; > @@ -2111,7 +2111,7 @@ ProcessPendingList ( > Status =3D LoadFormsetList (Target->HiiHandle, FormsetList); > if (EFI_ERROR (Status)) { > if (Status =3D=3D EFI_UNSUPPORTED) { > - DEBUG ((DEBUG_ERROR, " The formset has no x-uefi-redfish > configurations.\n")); > + DEBUG ((DEBUG_ERROR, " The formset has no x-UEFI-redfish > configurations.\n")); > } else { > DEBUG ((DEBUG_ERROR, " load formset from HII handle: 0x%x fai= led: > %r\n", Target->HiiHandle, Status)); > } > -- > 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118553): https://edk2.groups.io/g/devel/message/118553 Mute This Topic: https://groups.io/mt/105880826/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-