]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/PlatformDxe/Platform.h
OvmfPkg: Apply uncrustify changes
[mirror_edk2.git] / OvmfPkg / PlatformDxe / Platform.h
CommitLineData
877a4dbb
LE
1/** @file\r
2 This driver effectuates OVMF's platform configuration settings and exposes\r
3 them via HII.\r
4\r
5 Copyright (C) 2014, Red Hat, Inc.\r
6\r
b26f0cf9 7 SPDX-License-Identifier: BSD-2-Clause-Patent\r
877a4dbb
LE
8**/\r
9\r
10#ifndef _PLATFORM_H_\r
11#define _PLATFORM_H_\r
12\r
13//\r
14// Macro and type definitions that connect the form with the HII driver code.\r
15//\r
276a7ea1 16#define FORMSTATEID_MAIN_FORM 1\r
877a4dbb
LE
17#define FORMID_MAIN_FORM 1\r
18\r
ac0a286f
MK
19#define QUESTION_RES_CUR 1\r
20#define MAXSIZE_RES_CUR 16\r
276a7ea1 21\r
ac0a286f
MK
22#define LABEL_RES_NEXT 1\r
23#define QUESTION_RES_NEXT 2\r
92e74550 24\r
1df57ba3
LE
25#define QUESTION_SAVE_EXIT 3\r
26#define QUESTION_DISCARD_EXIT 4\r
27\r
276a7ea1
LE
28//\r
29// This structure describes the form state. Its fields relate strictly to the\r
30// visual widgets on the form.\r
31//\r
32typedef struct {\r
ac0a286f
MK
33 UINT16 CurrentPreferredResolution[MAXSIZE_RES_CUR];\r
34 UINT32 NextPreferredResolution;\r
276a7ea1
LE
35} MAIN_FORM_STATE;\r
36\r
877a4dbb 37#endif // _PLATFORM_H_\r