RedfishPkg/Include: move protocol version definition to protocol header

Move protocol interface version definition to public protocol header
file. So, driver can decide which version it is supported.

Signed-off-by: Nickle Wang <nicklew@nvidia.com>
This commit is contained in:
Nickle Wang 2024-09-09 11:18:44 +08:00 committed by mergify[bot]
parent be36ddb234
commit 7843c8da06
2 changed files with 8 additions and 5 deletions

View File

@ -13,6 +13,11 @@
typedef struct _EDKII_REDFISH_PLATFORM_CONFIG_PROTOCOL EDKII_REDFISH_PLATFORM_CONFIG_PROTOCOL;
//
// Redfish Platform Config Protocol interface version.
//
#define REDFISH_PLATFORM_CONFIG_VERSION 0x00010000
///
/// Definition of EDKII_REDFISH_TYPE_VALUE
///

View File

@ -110,11 +110,9 @@ typedef struct {
} REDFISH_STACK;
#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 REDFISH_PLATFORM_CONFIG_VERSION 0x00010000
#define REDFISH_MENU_PATH_SIZE 8
#define REGULAR_EXPRESSION_INCLUDE_ALL L".*"
#define CONFIGURE_LANGUAGE_PREFIX "x-UEFI-redfish-"
#define REDFISH_MENU_PATH_SIZE 8
// Definitions of Redfish platform config capability
#define REDFISH_PLATFORM_CONFIG_BUILD_MENU_PATH 0x000000001