]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/PlatformDxe/Platform.h
OvmfPkg/EmuVariableFvbRuntimeDxe: stop using PcdVariableStoreSize
[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
7 This program and the accompanying materials are licensed and made available\r
8 under the terms and conditions of the BSD License which accompanies this\r
9 distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php\r
11\r
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
13 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14**/\r
15\r
16#ifndef _PLATFORM_H_\r
17#define _PLATFORM_H_\r
18\r
19//\r
20// Macro and type definitions that connect the form with the HII driver code.\r
21//\r
276a7ea1 22#define FORMSTATEID_MAIN_FORM 1\r
877a4dbb
LE
23#define FORMID_MAIN_FORM 1\r
24\r
92e74550 25#define QUESTION_RES_CUR 1\r
276a7ea1
LE
26#define MAXSIZE_RES_CUR 16\r
27\r
92e74550
LE
28#define LABEL_RES_NEXT 1\r
29#define QUESTION_RES_NEXT 2\r
30\r
1df57ba3
LE
31#define QUESTION_SAVE_EXIT 3\r
32#define QUESTION_DISCARD_EXIT 4\r
33\r
276a7ea1
LE
34//\r
35// This structure describes the form state. Its fields relate strictly to the\r
36// visual widgets on the form.\r
37//\r
38typedef struct {\r
39 UINT16 CurrentPreferredResolution[MAXSIZE_RES_CUR];\r
40 UINT32 NextPreferredResolution;\r
41} MAIN_FORM_STATE;\r
42\r
877a4dbb 43#endif // _PLATFORM_H_\r