1 /** @file 2 This driver effectuates QSP platform configuration settings and exposes 3 them via HII. 4 5 Copyright (C) 2014, Red Hat, Inc. 6 Copyright (c) 2019 Intel Corporation. All rights reserved. <BR> 7 8 SPDX-License-Identifier: BSD-2-Clause-Patent 9 **/ 10 11 #ifndef _PLATFORM_H_ 12 #define _PLATFORM_H_ 13 14 // 15 // Macro and type definitions that connect the form with the HII driver code. 16 // 17 #define FORMSTATEID_MAIN_FORM 1 18 #define FORMID_MAIN_FORM 1 19 20 #define QUESTION_RES_CUR 1 21 #define MAXSIZE_RES_CUR 16 22 23 #define LABEL_RES_NEXT 1 24 #define QUESTION_RES_NEXT 2 25 26 #define QUESTION_SAVE_EXIT 3 27 #define QUESTION_DISCARD_EXIT 4 28 29 // 30 // This structure describes the form state. Its fields relate strictly to the 31 // visual widgets on the form. 32 // 33 typedef struct { 34 UINT16 CurrentPreferredResolution[MAXSIZE_RES_CUR]; 35 UINT32 NextPreferredResolution; 36 } MAIN_FORM_STATE; 37 38 #endif // _PLATFORM_H_ 39