diff --git a/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosData.h b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosData.h new file mode 100644 index 000000000..7e1bc9cef --- /dev/null +++ b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosData.h @@ -0,0 +1,47 @@ +/** @file + The header file of HII-to-Redfish BIOS example driver. + + (C) Copyright 2022 Hewlett Packard Enterprise Development LP
+ Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef HII_TO_REDFISH_BIOS_DATA_H_ +#define HII_TO_REDFISH_BIOS_DATA_H_ + +#include +#include + +#define HII_TO_REDFISH_BIOS_FORMSET_GUID \ + { \ + 0xC2724AD1, 0x4049, 0x2404, { 0xF8, 0xCE, 0x01, 0xA7, 0x9C, 0xEC, 0x16, 0xF6 } \ + } + +extern EFI_GUID gHiiToRedfishBiosFormsetGuid; + +#define FORM_ID 0x001 +#define FROM_ID_BIOS_OPTION_1 0x002 +#define FROM_ID_BIOS_OPTION_2 0x003 +#define FROM_ID_BIOS_OPTION_3 0x004 +#define FROM_ID_BIOS_OPTION_4 0x005 + +#define ID_STRING_MIN 0 +#define ID_STRING_MAX 15 +#define ID_STRING_MAX_WITH_TERMINATOR 16 + +#pragma pack() + +// +// Definiton of HII_TO_REDFISH_BIOS_VARSTORE_DATA +// +typedef struct { + UINT8 RedfishBiosOption1Data; + CHAR16 RedfishBiosOption2Data[ID_STRING_MAX_WITH_TERMINATOR]; + UINT8 RedfishBiosOption3Data; + UINT8 RedfishBiosOption4Data; + UINT8 Reserved; +} HII_TO_REDFISH_BIOS_EFI_VARSTORE_DATA; + +#endif diff --git a/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.c b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.c new file mode 100644 index 000000000..cee4c0247 --- /dev/null +++ b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.c @@ -0,0 +1,290 @@ +/** @file + HII-to-Redfish Bios example driver. + + (C) Copyright 2022 Hewlett Packard Enterprise Development LP
+ Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#include "HiiToRedfishBiosDxe.h" + +EFI_GUID mHiiToRedfishBiosGuid = HII_TO_REDFISH_BIOS_FORMSET_GUID; +EFI_HII_HANDLE mHiiHandle; +EFI_HANDLE DriverHandle; +CHAR16 HiiToRedfishEfiVar[] = L"HiiToRedfishBiosEfiVar"; + +/// +/// HII specific Vendor Device Path definition. +/// +HII_VENDOR_DEVICE_PATH mHiiVendorDevicePath = { + { + { + HARDWARE_DEVICE_PATH, + HW_VENDOR_DP, + { + (UINT8)(sizeof (VENDOR_DEVICE_PATH)), + (UINT8)((sizeof (VENDOR_DEVICE_PATH)) >> 8) + } + }, + HII_TO_REDFISH_BIOS_FORMSET_GUID + }, + { + END_DEVICE_PATH_TYPE, + END_ENTIRE_DEVICE_PATH_SUBTYPE, + { + (UINT8)(END_DEVICE_PATH_LENGTH), + (UINT8)((END_DEVICE_PATH_LENGTH) >> 8) + } + } +}; + +/** + Initial HII variable if it does not exist. + + @retval EFI_SUCCESS HII variable is initialized. + +**/ +EFI_STATUS +InitialHiiVariable ( + VOID + ) +{ + EFI_STATUS Status; + UINTN BufferSize; + HII_TO_REDFISH_BIOS_EFI_VARSTORE_DATA HiiToRedfishBiosVar; + + // + // Get Buffer Storage data from EFI variable. + // Try to get the current setting from variable. + // + BufferSize = sizeof (HII_TO_REDFISH_BIOS_EFI_VARSTORE_DATA); + Status = gRT->GetVariable ( + HiiToRedfishEfiVar, + &gHiiToRedfishBiosFormsetGuid, + NULL, + &BufferSize, + &HiiToRedfishBiosVar + ); + if (!EFI_ERROR (Status)) { + return EFI_SUCCESS; + } + + // + // Initialization + // + HiiToRedfishBiosVar.RedfishBiosOption1Data = STR_BIOS_OPTION_1_ITEM_1; + StrCpyS (HiiToRedfishBiosVar.RedfishBiosOption2Data, ID_STRING_MAX_WITH_TERMINATOR, L"Default"); + HiiToRedfishBiosVar.RedfishBiosOption3Data = 5; + HiiToRedfishBiosVar.RedfishBiosOption4Data = TRUE; + + Status = gRT->SetVariable ( + HiiToRedfishEfiVar, + &gHiiToRedfishBiosFormsetGuid, + VARIABLE_ATTRIBUTE_NV_BS, + BufferSize, + &HiiToRedfishBiosVar + ); + + return Status; +} + +/** + This function allows a caller to extract the current configuration for one + or more named elements from the target driver. + + @param[in] This Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL. + @param[in] Request A null-terminated Unicode string in + format. + @param[out] Progress On return, points to a character in the Request + string. Points to the string's null terminator if + request was successful. Points to the most recent + '&' before the first failing name/value pair (or + the beginning of the string if the failure is in + the first name/value pair) if the request was not + successful. + @param[out] Results A null-terminated Unicode string in + format which has all values filled + in for the names in the Request string. String to + be allocated by the called function. + + @retval EFI_SUCCESS The Results is filled with the requested values. + @retval EFI_OUT_OF_RESOURCES Not enough memory to store the results. + @retval EFI_INVALID_PARAMETER Request is illegal syntax, or unknown name. + @retval EFI_NOT_FOUND Routing data doesn't match any storage in this + driver. + +**/ +EFI_STATUS +EFIAPI +HiiToRedfishBiosExtractConfig ( + IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, + IN CONST EFI_STRING Request, + OUT EFI_STRING *Progress, + OUT EFI_STRING *Results + ) +{ + if ((Progress == NULL) || (Results == NULL)) { + return EFI_INVALID_PARAMETER; + } + + if (Request == NULL) { + return EFI_UNSUPPORTED; + } + + // + // Check whether request for EFI Varstore. EFI varstore get data + // through hii database, not support in this path. + // + if (HiiIsConfigHdrMatch (Request, &gHiiToRedfishBiosFormsetGuid, L"HiiToRedfishBiosEfiVar")) { + return EFI_UNSUPPORTED; + } + + return EFI_NOT_FOUND; +} + +/** + This function processes the results of changes in configuration. + + @param[in] This Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL. + @param[in] Configuration A null-terminated Unicode string in + format. + @param[out] Progress A pointer to a string filled in with the offset of + the most recent '&' before the first failing + name/value pair (or the beginning of the string if + the failure is in the first name/value pair) or + the terminating NULL if all was successful. + + @retval EFI_SUCCESS The Results is processed successfully. + @retval EFI_INVALID_PARAMETER Configuration is NULL. + @retval EFI_NOT_FOUND Routing data doesn't match any storage in this + driver. + +**/ +EFI_STATUS +EFIAPI +HiiToRedfishBiosRouteConfig ( + IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, + IN CONST EFI_STRING Configuration, + OUT EFI_STRING *Progress + ) +{ + DEBUG ((DEBUG_INFO, "%a, unsupported\n", __func__)); + + return EFI_UNSUPPORTED; +} + +/** + This function processes the results of changes in configuration. + + @param[in] This Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL. + @param[in] Action Specifies the type of action taken by the browser. + @param[in] QuestionId A unique value which is sent to the original + exporting driver so that it can identify the type + of data to expect. + @param[in] Type The type of value for the question. + @param[in] Value A pointer to the data being sent to the original + exporting driver. + @param[out] ActionRequest On return, points to the action requested by the + callback function. + + @retval EFI_SUCCESS The callback successfully handled the action. + @retval EFI_OUT_OF_RESOURCES Not enough storage is available to hold the + variable and its data. + @retval EFI_DEVICE_ERROR The variable could not be saved. + @retval EFI_UNSUPPORTED The specified Action is not supported by the + callback. + +**/ +EFI_STATUS +EFIAPI +HiiToRedfishBiosDriverCallback ( + IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This, + IN EFI_BROWSER_ACTION Action, + IN EFI_QUESTION_ID QuestionId, + IN UINT8 Type, + IN EFI_IFR_TYPE_VALUE *Value, + OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest + ) +{ + DEBUG ((DEBUG_INFO, "%a, action: 0x%x QID: 0x%x\n", __func__, Action, QuestionId)); + + return EFI_UNSUPPORTED; +} + +EFI_HII_CONFIG_ACCESS_PROTOCOL mHiiToRedfishConfigAccess = { + HiiToRedfishBiosExtractConfig, + HiiToRedfishBiosRouteConfig, + HiiToRedfishBiosDriverCallback +}; + +/** + Main entry for this driver. + + @param[in] ImageHandle Image handle this driver. + @param[in] SystemTable Pointer to SystemTable. + + @retval EFI_SUCCESS This function always complete successfully. + +**/ +EFI_STATUS +EFIAPI +HiiToRedfishBiosDxeDriverEntryPoint ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +{ + EFI_STATUS Status; + + DriverHandle = NULL; + Status = gBS->InstallMultipleProtocolInterfaces ( + &DriverHandle, + &gEfiDevicePathProtocolGuid, + &mHiiVendorDevicePath, + &gEfiHiiConfigAccessProtocolGuid, + &mHiiToRedfishConfigAccess, + NULL + ); + + // + // Publish our HII data + // + mHiiHandle = HiiAddPackages ( + &mHiiToRedfishBiosGuid, + DriverHandle, + HiiToRedfishBiosDxeStrings, + HiiToRedfishBiosVfrBin, + NULL + ); + if (mHiiHandle == NULL) { + return EFI_OUT_OF_RESOURCES; + } + + Status = InitialHiiVariable (); + if (EFI_ERROR (Status)) { + DEBUG ((DEBUG_ERROR, "%a, failed to initial variable: %r\n", __func__, Status)); + } + + return EFI_SUCCESS; +} + +/** + Unloads the application and its installed protocol. + + @param[in] ImageHandle Handle that identifies the image to be unloaded. + + @retval EFI_SUCCESS The image has been unloaded. +**/ +EFI_STATUS +EFIAPI +HiiToRedfishBiosDxeDriverUnload ( + IN EFI_HANDLE ImageHandle + ) +{ + if (mHiiHandle != NULL) { + HiiRemovePackages (mHiiHandle); + } + + return EFI_SUCCESS; +} diff --git a/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.h b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.h new file mode 100644 index 000000000..0223083be --- /dev/null +++ b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.h @@ -0,0 +1,45 @@ +/** @file + HII-to-Redfish BIOS example driver header file. + + (C) Copyright 2022 Hewlett Packard Enterprise Development LP
+ Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef HII_TO_REDFISH_BIOS_DXE_H_ +#define HII_TO_REDFISH_BIOS_DXE_H_ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "HiiToRedfishBiosData.h" + +extern UINT8 HiiToRedfishBiosVfrBin[]; + +#pragma pack(1) + +/// +/// HII specific Vendor Device Path definition. +/// +typedef struct { + VENDOR_DEVICE_PATH VendorDevicePath; + EFI_DEVICE_PATH_PROTOCOL End; +} HII_VENDOR_DEVICE_PATH; + +#pragma pack() + +#endif diff --git a/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.inf b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.inf new file mode 100644 index 000000000..a5be68f8d --- /dev/null +++ b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.inf @@ -0,0 +1,56 @@ +## @file +# HII-to-Redfish BIOS Example driver. +# +# (C) Copyright 2022 Hewlett Packard Enterprise Development LP
+# Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# +# SPDX-License-Identifier: BSD-2-Clause-Patent +# +## + +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = HiiToRedfishBiosDxe + FILE_GUID = 9A7FA287-4038-CB66-DC70-92AE8C0FCF73 + MODULE_TYPE = UEFI_DRIVER + VERSION_STRING = 1.0 + ENTRY_POINT = HiiToRedfishBiosDxeDriverEntryPoint + UNLOAD_IMAGE = HiiToRedfishBiosDxeDriverUnload + +[Sources] + HiiToRedfishBiosDxe.c + HiiToRedfishBiosDxe.h + HiiToRedfishBiosData.h + HiiToRedfishBiosVfr.vfr + HiiToRedfishBiosDxeStrings.uni + HiiToRedfishBiosDxeMap.uni + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + RedfishClientPkg/RedfishClientPkg.dec + +[LibraryClasses] + UefiDriverEntryPoint + BaseLib + BaseMemoryLib + DebugLib + PcdLib + MemoryAllocationLib + UefiBootServicesTableLib + UefiRuntimeServicesTableLib + UefiLib + PrintLib + HiiLib + +[Protocols] + gEfiDevicePathProtocolGuid + gEfiHiiConfigAccessProtocolGuid + + +[Guids] + gHiiToRedfishBiosFormsetGuid + +[Depex] + gEfiHiiDatabaseProtocolGuid + diff --git a/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxeMap.uni b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxeMap.uni new file mode 100644 index 000000000..a41c65fef --- /dev/null +++ b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxeMap.uni @@ -0,0 +1,21 @@ +/** @file + HII-to-Redfish BIOS example driver. + + (C) Copyright 2022 Hewlett Packard Enterprise Development LP
+ Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +/=# +#langdef x-uefi-redfish-Bios.v1_0_9 "Bios.v1_0_9" + +#string STR_BIOS_OPTION_1_PROMPT #language x-uefi-redfish-Bios.v1_0_9 "/Bios/Attributes/BiosOption1" +#string STR_BIOS_OPTION_2_PROMPT #language x-uefi-redfish-Bios.v1_0_9 "/Bios/Attributes/BiosOption2" +#string STR_BIOS_OPTION_3_PROMPT #language x-uefi-redfish-Bios.v1_0_9 "/Bios/Attributes/BiosOption3" +#string STR_BIOS_OPTION_4_PROMPT #language x-uefi-redfish-Bios.v1_0_9 "/Bios/Attributes/BiosOption4" + +#string STR_BIOS_OPTION_1_ITEM_1 #language x-uefi-redfish-Bios.v1_0_9 "Item #1" +#string STR_BIOS_OPTION_1_ITEM_2 #language x-uefi-redfish-Bios.v1_0_9 "Item #2" +#string STR_BIOS_OPTION_1_ITEM_3 #language x-uefi-redfish-Bios.v1_0_9 "Item #3" diff --git a/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxeStrings.uni b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxeStrings.uni new file mode 100644 index 000000000..539abd07c --- /dev/null +++ b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxeStrings.uni @@ -0,0 +1,31 @@ +#string /** @file + HII-to-Redfish BIOS example driver. + + (C) Copyright 2022 Hewlett Packard Enterprise Development LP
+ Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +/=# +#langdef en-US "English" + +#string STR_FORM_SET_TITLE #language en-US "HII to Redfish (BIOS)" +#string STR_FORM_SET_TITLE_HELP #language en-US "HII to Redfish (BIOS)" +#string STR_FORM_TITLE #language en-US "HII to Redfish BIOS properties" + +#string STR_BIOS_OPTION_1_PROMPT #language en-US "HII Redfish BIOS Option 1" +#string STR_BIOS_OPTION_2_PROMPT #language en-US "HII Redfish BIOS Option 2" +#string STR_BIOS_OPTION_3_PROMPT #language en-US "HII Redfish BIOS Option 3" +#string STR_BIOS_OPTION_4_PROMPT #language en-US "HII Redfish BIOS Option 4" + +#string STR_BIOS_OPTION_1_HELP #language en-US "HII Redfish BIOS Option 1" +#string STR_BIOS_OPTION_2_HELP #language en-US "HII Redfish BIOS Option 2" +#string STR_BIOS_OPTION_3_HELP #language en-US "HII Redfish BIOS Option 3" +#string STR_BIOS_OPTION_4_HELP #language en-US "HII Redfish BIOS Option 4" + +#string STR_BIOS_OPTION_1_ITEM_1 #language en-US "Item #1" +#string STR_BIOS_OPTION_1_ITEM_2 #language en-US "Item #2" +#string STR_BIOS_OPTION_1_ITEM_3 #language en-US "Item #3" + diff --git a/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosVfr.vfr b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosVfr.vfr new file mode 100644 index 000000000..83c3f4e03 --- /dev/null +++ b/RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosVfr.vfr @@ -0,0 +1,68 @@ +/** @file + HII-to-Redfish BIOS example driver VFR file. + + (C) Copyright 2022 Hewlett Packard Enterprise Development LP
+ Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + + +#include "HiiToRedfishBiosData.h" + +formset + guid = HII_TO_REDFISH_BIOS_FORMSET_GUID, + title = STRING_TOKEN(STR_FORM_SET_TITLE), + help = STRING_TOKEN(STR_FORM_SET_TITLE_HELP), + classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID, + + // + // Define a EFI variable Storage (EFI_IFR_VARSTORE_EFI) + // + efivarstore HII_TO_REDFISH_BIOS_EFI_VARSTORE_DATA, + attribute = EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_NON_VOLATILE, // EFI variable attribures + name = HiiToRedfishBiosEfiVar, + guid = HII_TO_REDFISH_BIOS_FORMSET_GUID; + + // + // Define a Form (EFI_IFR_FORM) + // + form formid = FORM_ID, // Form ID + title = STRING_TOKEN(STR_FORM_TITLE); // Form title + + oneof varid = HiiToRedfishBiosEfiVar.RedfishBiosOption1Data, + questionid = FROM_ID_BIOS_OPTION_1, + prompt = STRING_TOKEN(STR_BIOS_OPTION_1_PROMPT), + help = STRING_TOKEN(STR_BIOS_OPTION_1_HELP), + flags = INTERACTIVE | NUMERIC_SIZE_1, + option text = STRING_TOKEN(STR_BIOS_OPTION_1_ITEM_1), value = STR_BIOS_OPTION_1_ITEM_1, flags = DEFAULT; + option text = STRING_TOKEN(STR_BIOS_OPTION_1_ITEM_2), value = STR_BIOS_OPTION_1_ITEM_2, flags = 0; + option text = STRING_TOKEN(STR_BIOS_OPTION_1_ITEM_3), value = STR_BIOS_OPTION_1_ITEM_3, flags = 0; + endoneof; + + string varid = HiiToRedfishBiosEfiVar.RedfishBiosOption2Data, + prompt = STRING_TOKEN(STR_BIOS_OPTION_2_PROMPT), + help = STRING_TOKEN(STR_BIOS_OPTION_2_HELP), + flags = READ_ONLY, + minsize = ID_STRING_MIN, + maxsize = ID_STRING_MAX, + endstring; + + numeric varid = HiiToRedfishBiosEfiVar.RedfishBiosOption3Data, + prompt = STRING_TOKEN(STR_BIOS_OPTION_3_PROMPT), + help = STRING_TOKEN(STR_BIOS_OPTION_3_HELP), + minimum = 0, + maximum = 0xff, + step = 1, + default = 20, + endnumeric; + + checkbox varid = HiiToRedfishBiosEfiVar.RedfishBiosOption4Data, + prompt = STRING_TOKEN(STR_BIOS_OPTION_4_PROMPT), + help = STRING_TOKEN(STR_BIOS_OPTION_4_PROMPT), + flags = CHECKBOX_DEFAULT, + default = TRUE, + endcheckbox; + endform; +endformset; diff --git a/RedfishClientPkg/RedfishClient.fdf.inc b/RedfishClientPkg/RedfishClient.fdf.inc index 5708f7862..afa6555a7 100644 --- a/RedfishClientPkg/RedfishClient.fdf.inc +++ b/RedfishClientPkg/RedfishClient.fdf.inc @@ -22,6 +22,7 @@ INF RedfishClientPkg/Features/Bios/v1_0_9/Dxe/BiosDxe.inf INF RedfishClientPkg/HiiToRedfishMemoryDxe/HiiToRedfishMemoryDxe.inf INF RedfishClientPkg/HiiToRedfishBootDxe/HiiToRedfishBootDxe.inf + INF RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.inf !include RedfishClientPkg/RedfishJsonStructureDxe.fdf.inc # diff --git a/RedfishClientPkg/RedfishClientComponents.dsc.inc b/RedfishClientPkg/RedfishClientComponents.dsc.inc index b53c4a755..fc54787db 100644 --- a/RedfishClientPkg/RedfishClientComponents.dsc.inc +++ b/RedfishClientPkg/RedfishClientComponents.dsc.inc @@ -19,6 +19,7 @@ RedfishClientPkg/RedfishConfigLangMapDxe/RedfishConfigLangMapDxe.inf RedfishClientPkg/HiiToRedfishMemoryDxe/HiiToRedfishMemoryDxe.inf RedfishClientPkg/HiiToRedfishBootDxe/HiiToRedfishBootDxe.inf + RedfishClientPkg/HiiToRedfishBiosDxe/HiiToRedfishBiosDxe.inf !endif # # Below two modules should be pulled in by build tool. diff --git a/RedfishClientPkg/RedfishClientPkg.dec b/RedfishClientPkg/RedfishClientPkg.dec index 3a323bbbd..eccbc22ef 100644 --- a/RedfishClientPkg/RedfishClientPkg.dec +++ b/RedfishClientPkg/RedfishClientPkg.dec @@ -59,6 +59,7 @@ gHiiToRedfishMemoryFormsetGuid = { 0XC2BE579E, 0X3C57, 0X499C, { 0XA9, 0XDF, 0XE6, 0X23, 0X8A, 0X49, 0X64, 0XF8 }} gHiiToRedfishBootFormsetGuid = { 0x8399a787, 0x108e, 0x4e53, { 0x9e, 0xde, 0x4b, 0x18, 0xcc, 0x9e, 0xab, 0x3b }} + gHiiToRedfishBiosFormsetGuid = { 0xC2724AD1, 0x4049, 0x2404, { 0xF8, 0xCE, 0x01, 0xA7, 0x9C, 0xEC, 0x16, 0xF6 }} [PcdsFixedAtBuild] gEfiRedfishClientPkgTokenSpaceGuid.PcdMaxRedfishSchemaStringSize|32|UINT32|0x10000001