TianoCore EDK2 master
|
#include <Base.h>
Go to the source code of this file.
Data Structures | |
struct | PLATFORM_CONFIG |
Macros | |
#define | PLATFORM_CONFIG_F_GRAPHICS_RESOLUTION BIT0 |
#define | PLATFORM_CONFIG_F_DOWNGRADE BIT63 |
Functions | |
EFI_STATUS EFIAPI | PlatformConfigSave (IN PLATFORM_CONFIG *PlatformConfig) |
EFI_STATUS EFIAPI | PlatformConfigLoad (OUT PLATFORM_CONFIG *PlatformConfig, OUT UINT64 *OptionalElements) |
Variables | |
CHAR16 | mVariableName [] |
CHAR16 | mHiiFormName [] |
Utility functions for serializing (persistently storing) and deserializing OVMF's platform configuration.
Copyright (C) 2014, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PlatformConfig.h.
#define PLATFORM_CONFIG_F_DOWNGRADE BIT63 |
Definition at line 51 of file PlatformConfig.h.
#define PLATFORM_CONFIG_F_GRAPHICS_RESOLUTION BIT0 |
Definition at line 50 of file PlatformConfig.h.
EFI_STATUS EFIAPI PlatformConfigLoad | ( | OUT PLATFORM_CONFIG * | PlatformConfig, |
OUT UINT64 * | OptionalElements | ||
) |
Load and deserialize platform configuration.
When the function fails, output parameters are indeterminate.
[out] | PlatformConfig | The platform configuration to receive the loaded data. |
[out] | OptionalElements | This bitmap describes the presence of optional configuration elements that have been loaded. PLATFORM_CONFIG_F_DOWNGRADE means that some unknown elements, present in the wire format, have been ignored. |
EFI_SUCCESS | Loading & deserialization successful. |
Definition at line 78 of file PlatformConfig.c.
EFI_STATUS EFIAPI PlatformConfigSave | ( | IN PLATFORM_CONFIG * | PlatformConfig | ) |
Serialize and persistently save platform configuration.
[in] | PlatformConfig | The platform configuration to serialize and save. |
Definition at line 36 of file PlatformConfig.c.
|
extern |
Definition at line 25 of file PlatformConfig.c.
|
extern |
Definition at line 58 of file PlatDriOverrideDxe.c.