RedfishPkg/Include: add common RedfishPkg header file.
IS_EMPTY_STRING macro is defined in multiple drivers in RedfishPkg. So, I create RedfishCommon.h to keep common macros that we can use in RedfishPkg. Signed-off-by: Nickle Wang <nicklew@nvidia.com>
This commit is contained in:
committed by
mergify[bot]
parent
8b295e0aad
commit
48b5815d77
@@ -13,6 +13,7 @@
|
||||
#define EDKII_REDFISH_PLATFORM_CONFIG_IMPL_H_
|
||||
|
||||
#include <Uefi.h>
|
||||
#include <RedfishCommon.h>
|
||||
|
||||
//
|
||||
// Libraries
|
||||
@@ -27,7 +28,6 @@
|
||||
#include <Library/UefiBootServicesTableLib.h>
|
||||
#include <Library/UefiLib.h>
|
||||
|
||||
#define IS_EMPTY_STRING(a) (a == NULL || a[0] == L'\0')
|
||||
#define ENGLISH_LANGUAGE_CODE "en-US"
|
||||
#define X_UEFI_SCHEMA_PREFIX "x-UEFI-redfish-"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user