tianocore / edk2-redfish-client

Utilizes the EFI protocols provided by EDK2 Redfish Foundation to communicate with the Redfish service for creating, consuming, and updating the Redfish properties which are managed by firmware.
Other
6 stars 5 forks source link

[Code] BIOS attribute registry feature driver #4

Open nicklela opened 1 year ago

nicklela commented 1 year ago
nicklela commented 1 year ago

struct _EDKII_REDFISH_PLATFORM_CONFIG_PROTOCOL { EDKII_REDFISH_PLATFORM_CONFIG_GET_VALUE GetValue; EDKII_REDFISH_PLATFORM_CONFIG_SET_VALUE SetValue; EDKII_REDFISH_PLATFORM_CONFIG_GET_CONFIG_LANG GetConfigureLang; EDKII_REDFISH_PLATFORM_CONFIG_GET_SUPPORTED_SCHEMA GetSupportedSchema; };

Consider to create EDKII_REDFISH_PLATFORM_CONFIG_GET_ATTRIBUTE GetAttribute;

nicklela commented 1 year ago

Example in UNI:

string STR_BIOS_OPTION_1_PROMPT #language x-uefi-redfish-AttributeRegistry.v1_0_9 "/Bios/AttributeRegistry/BiosAttributeRegistryP89.v1_0_0/BiosOption1"

nicklela commented 1 year ago

Working in progress. The interface to get default value and option details is ready. Dependency and Menu will be handled later.

image

nicklela commented 1 year ago

Code review here: