TianoCore EDK2 master
|
#include <Uefi.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/PcdLib.h>
#include <Library/PrintLib.h>
#include <Library/RedfishDebugLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Protocol/HiiDatabase.h>
#include <Protocol/HiiString.h>
#include <Protocol/RegularExpressionProtocol.h>
#include <Protocol/EdkIIRedfishPlatformConfig.h>
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) |
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.
#define CONFIGURE_LANGUAGE_PREFIX "x-UEFI-redfish-" |
Definition at line 114 of file RedfishPlatformConfigDxe.h.
#define DEBUG_REDFISH_THIS_MODULE | ( | DebugSubordinate, | |
... | |||
) |
Definition at line 56 of file RedfishPlatformConfigDxe.h.
#define DEBUG_REDFISH_THIS_MODULE_CODE | ( | DebugSubordinate, | |
Expression | |||
) |
Definition at line 67 of file RedfishPlatformConfigDxe.h.
#define DEBUG_REDFISH_THIS_MODULE_CODE_BEGIN | ( | DebugSubordinate | ) | if (RedfishPlatformConfigDebugProp (DebugSubordinate)) { |
Definition at line 62 of file RedfishPlatformConfigDxe.h.
#define DEBUG_REDFISH_THIS_MODULE_CODE_END | ( | ) | } |
Definition at line 65 of file RedfishPlatformConfigDxe.h.
#define REDFISH_MENU_PATH_SIZE 8 |
Definition at line 115 of file RedfishPlatformConfigDxe.h.
#define REDFISH_PLATFORM_CONFIG_ALLOW_SUPPRESSED 0x000000002 |
Definition at line 119 of file RedfishPlatformConfigDxe.h.
#define REDFISH_PLATFORM_CONFIG_BUILD_MENU_PATH 0x000000001 |
Definition at line 118 of file RedfishPlatformConfigDxe.h.
#define REDFISH_PLATFORM_CONFIG_DEBUG_CONFIG_LANG_REGEX 0x00000008 |
Definition at line 76 of file RedfishPlatformConfigDxe.h.
#define REDFISH_PLATFORM_CONFIG_DEBUG_CONFIG_LANG_SEARCH 0x00000004 |
Definition at line 75 of file RedfishPlatformConfigDxe.h.
#define REDFISH_PLATFORM_CONFIG_DEBUG_DUMP_FORMSET 0x00000002 |
Definition at line 74 of file RedfishPlatformConfigDxe.h.
#define REDFISH_PLATFORM_CONFIG_DEBUG_STRING_DATABASE 0x00000001 |
Definition at line 73 of file RedfishPlatformConfigDxe.h.
#define REDFISH_PLATFORM_CONFIG_PRIVATE_FROM_THIS | ( | a | ) | BASE_CR (a, REDFISH_PLATFORM_CONFIG_PRIVATE, Protocol) |
Definition at line 112 of file RedfishPlatformConfigDxe.h.
#define REGULAR_EXPRESSION_INCLUDE_ALL L".*" |
Definition at line 113 of file RedfishPlatformConfigDxe.h.
CHAR8 * StrToAsciiStr | ( | IN EFI_STRING | UnicodeString | ) |
Convert input unicode string to ascii string. It's caller's responsibility to free returned buffer using FreePool().
[in] | UnicodeString | Unicode string to be converted. |
CHAR8 | * Ascii string on return. |
Definition at line 1491 of file RedfishPlatformConfigDxe.c.