TianoCore EDK2 master
Loading...
Searching...
No Matches
PlatformConfig.h
Go to the documentation of this file.
1
12#ifndef _PLATFORM_CONFIG_H_
13#define _PLATFORM_CONFIG_H_
14
15#include <Base.h>
16
17//
18// This structure participates in driver configuration. It does not
19// (necessarily) reflect the wire format in the persistent store.
20//
21#pragma pack(1)
22typedef struct {
23 //
24 // preferred graphics console resolution when booting
25 //
26 UINT32 HorizontalResolution;
27 UINT32 VerticalResolution;
29#pragma pack()
30
31//
32// Please see the API documentation near the function definitions.
33//
35EFIAPI
37 IN PLATFORM_CONFIG *PlatformConfig
38 );
39
41EFIAPI
43 OUT PLATFORM_CONFIG *PlatformConfig,
44 OUT UINT64 *OptionalElements
45 );
46
47//
48// Feature flags for OptionalElements.
49//
50#define PLATFORM_CONFIG_F_GRAPHICS_RESOLUTION BIT0
51#define PLATFORM_CONFIG_F_DOWNGRADE BIT63
52
53extern CHAR16 mVariableName[];
54extern CHAR16 mHiiFormName[];
55
56#endif // _PLATFORM_CONFIG_H_
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI PlatformConfigSave(IN PLATFORM_CONFIG *PlatformConfig)
EFI_STATUS EFIAPI PlatformConfigLoad(OUT PLATFORM_CONFIG *PlatformConfig, OUT UINT64 *OptionalElements)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29