diff options
Diffstat (limited to 'OvmfPkg/PlatformDxe/Platform.h')
-rw-r--r-- | OvmfPkg/PlatformDxe/Platform.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OvmfPkg/PlatformDxe/Platform.h b/OvmfPkg/PlatformDxe/Platform.h index 1ee580e785..afa15db2d0 100644 --- a/OvmfPkg/PlatformDxe/Platform.h +++ b/OvmfPkg/PlatformDxe/Platform.h @@ -19,6 +19,18 @@ //
// Macro and type definitions that connect the form with the HII driver code.
//
+#define FORMSTATEID_MAIN_FORM 1
#define FORMID_MAIN_FORM 1
+#define MAXSIZE_RES_CUR 16
+
+//
+// This structure describes the form state. Its fields relate strictly to the
+// visual widgets on the form.
+//
+typedef struct {
+ UINT16 CurrentPreferredResolution[MAXSIZE_RES_CUR];
+ UINT32 NextPreferredResolution;
+} MAIN_FORM_STATE;
+
#endif // _PLATFORM_H_
|