TianoCore EDK2 master
Loading...
Searching...
No Matches
RedfishPlatformConfigDxe.h File Reference

Go to the source code of this file.

Data Structures

struct  REDFISH_PLATFORM_CONFIG_NOTIFY
 
struct  REDFISH_PLATFORM_CONFIG_PRIVATE
 
struct  REDFISH_STACK
 

Macros

#define DEBUG_REDFISH_THIS_MODULE(DebugSubordinate, ...)
 
#define DEBUG_REDFISH_THIS_MODULE_CODE_BEGIN(DebugSubordinate)    if (RedfishPlatformConfigDebugProp (DebugSubordinate)) {
 
#define DEBUG_REDFISH_THIS_MODULE_CODE_END()   }
 
#define DEBUG_REDFISH_THIS_MODULE_CODE(DebugSubordinate, Expression)
 
#define REDFISH_PLATFORM_CONFIG_DEBUG_STRING_DATABASE   0x00000001
 
#define REDFISH_PLATFORM_CONFIG_DEBUG_DUMP_FORMSET   0x00000002
 
#define REDFISH_PLATFORM_CONFIG_DEBUG_CONFIG_LANG_SEARCH   0x00000004
 
#define REDFISH_PLATFORM_CONFIG_DEBUG_CONFIG_LANG_REGEX   0x00000008
 
#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_MENU_PATH_SIZE   8
 
#define REDFISH_PLATFORM_CONFIG_BUILD_MENU_PATH   0x000000001
 
#define REDFISH_PLATFORM_CONFIG_ALLOW_SUPPRESSED   0x000000002
 

Functions

CHAR8 * StrToAsciiStr (IN EFI_STRING UnicodeString)
 

Detailed Description

This file defines the EDKII Redfish Platform Config Protocol interface.

(C) Copyright 2021 Hewlett Packard Enterprise Development LP
Copyright (c) 2022-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file RedfishPlatformConfigDxe.h.

Macro Definition Documentation

◆ CONFIGURE_LANGUAGE_PREFIX

#define CONFIGURE_LANGUAGE_PREFIX   "x-UEFI-redfish-"

Definition at line 114 of file RedfishPlatformConfigDxe.h.

◆ DEBUG_REDFISH_THIS_MODULE

#define DEBUG_REDFISH_THIS_MODULE (   DebugSubordinate,
  ... 
)
Value:
while (RedfishPlatformConfigDebugProp (DebugSubordinate)) { \
DEBUG_REDFISH(DEBUG_REDFISH_COMPONENT_PLATFORM_CONFIG_DXE, ##__VA_ARGS__); \
break; \
}
BOOLEAN RedfishPlatformConfigDebugProp(IN UINT64 DebugType)

Definition at line 56 of file RedfishPlatformConfigDxe.h.

◆ DEBUG_REDFISH_THIS_MODULE_CODE

#define DEBUG_REDFISH_THIS_MODULE_CODE (   DebugSubordinate,
  Expression 
)
Value:
DEBUG_REDFISH_THIS_MODULE_CODE_BEGIN(DebugSubordinate) \
Expression \
DEBUG_REDFISH_THIS_MODULE_CODE_END()

Definition at line 67 of file RedfishPlatformConfigDxe.h.

◆ DEBUG_REDFISH_THIS_MODULE_CODE_BEGIN

#define DEBUG_REDFISH_THIS_MODULE_CODE_BEGIN (   DebugSubordinate)     if (RedfishPlatformConfigDebugProp (DebugSubordinate)) {

Definition at line 62 of file RedfishPlatformConfigDxe.h.

◆ DEBUG_REDFISH_THIS_MODULE_CODE_END

#define DEBUG_REDFISH_THIS_MODULE_CODE_END ( )    }

Definition at line 65 of file RedfishPlatformConfigDxe.h.

◆ REDFISH_MENU_PATH_SIZE

#define REDFISH_MENU_PATH_SIZE   8

Definition at line 115 of file RedfishPlatformConfigDxe.h.

◆ REDFISH_PLATFORM_CONFIG_ALLOW_SUPPRESSED

#define REDFISH_PLATFORM_CONFIG_ALLOW_SUPPRESSED   0x000000002

Definition at line 119 of file RedfishPlatformConfigDxe.h.

◆ REDFISH_PLATFORM_CONFIG_BUILD_MENU_PATH

#define REDFISH_PLATFORM_CONFIG_BUILD_MENU_PATH   0x000000001

Definition at line 118 of file RedfishPlatformConfigDxe.h.

◆ REDFISH_PLATFORM_CONFIG_DEBUG_CONFIG_LANG_REGEX

#define REDFISH_PLATFORM_CONFIG_DEBUG_CONFIG_LANG_REGEX   0x00000008

Definition at line 76 of file RedfishPlatformConfigDxe.h.

◆ REDFISH_PLATFORM_CONFIG_DEBUG_CONFIG_LANG_SEARCH

#define REDFISH_PLATFORM_CONFIG_DEBUG_CONFIG_LANG_SEARCH   0x00000004

Definition at line 75 of file RedfishPlatformConfigDxe.h.

◆ REDFISH_PLATFORM_CONFIG_DEBUG_DUMP_FORMSET

#define REDFISH_PLATFORM_CONFIG_DEBUG_DUMP_FORMSET   0x00000002

Definition at line 74 of file RedfishPlatformConfigDxe.h.

◆ REDFISH_PLATFORM_CONFIG_DEBUG_STRING_DATABASE

#define REDFISH_PLATFORM_CONFIG_DEBUG_STRING_DATABASE   0x00000001

Definition at line 73 of file RedfishPlatformConfigDxe.h.

◆ REDFISH_PLATFORM_CONFIG_PRIVATE_FROM_THIS

#define REDFISH_PLATFORM_CONFIG_PRIVATE_FROM_THIS (   a)    BASE_CR (a, REDFISH_PLATFORM_CONFIG_PRIVATE, Protocol)

Definition at line 112 of file RedfishPlatformConfigDxe.h.

◆ REGULAR_EXPRESSION_INCLUDE_ALL

#define REGULAR_EXPRESSION_INCLUDE_ALL   L".*"

Definition at line 113 of file RedfishPlatformConfigDxe.h.

Function Documentation

◆ StrToAsciiStr()

CHAR8 * StrToAsciiStr ( IN EFI_STRING  UnicodeString)

Convert input unicode string to ascii string. It's caller's responsibility to free returned buffer using FreePool().

Parameters
[in]UnicodeStringUnicode string to be converted.
Return values
CHAR8* Ascii string on return.

Definition at line 1491 of file RedfishPlatformConfigDxe.c.