]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/PlatformDxe/Platform.h
OvmfPkg: PlatformDxe: introduce state for the main form
[mirror_edk2.git] / OvmfPkg / PlatformDxe / Platform.h
index 1ee580e785db459718fd1bdaf606d49ccd0564b9..afa15db2d0faa5fa16d66a0be1d1308914eb4eb2 100644 (file)
 //\r
 // Macro and type definitions that connect the form with the HII driver code.\r
 //\r
+#define FORMSTATEID_MAIN_FORM  1\r
 #define FORMID_MAIN_FORM       1\r
 \r
+#define MAXSIZE_RES_CUR       16\r
+\r
+//\r
+// This structure describes the form state. Its fields relate strictly to the\r
+// visual widgets on the form.\r
+//\r
+typedef struct {\r
+  UINT16 CurrentPreferredResolution[MAXSIZE_RES_CUR];\r
+  UINT32 NextPreferredResolution;\r
+} MAIN_FORM_STATE;\r
+\r
 #endif // _PLATFORM_H_\r