3 Utility functions for serializing (persistently storing) and deserializing
4 OVMF's platform configuration.
6 Copyright (C) 2014, Red Hat, Inc.
8 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #ifndef _PLATFORM_CONFIG_H_
13 #define _PLATFORM_CONFIG_H_
18 // This structure participates in driver configuration. It does not
19 // (necessarily) reflect the wire format in the persistent store.
24 // preferred graphics console resolution when booting
26 UINT32 HorizontalResolution
;
27 UINT32 VerticalResolution
;
32 // Please see the API documentation near the function definitions.
37 IN PLATFORM_CONFIG
*PlatformConfig
43 OUT PLATFORM_CONFIG
*PlatformConfig
,
44 OUT UINT64
*OptionalElements
48 // Feature flags for OptionalElements.
50 #define PLATFORM_CONFIG_F_GRAPHICS_RESOLUTION BIT0
51 #define PLATFORM_CONFIG_F_DOWNGRADE BIT63
53 #endif // _PLATFORM_CONFIG_H_