summaryrefslogtreecommitdiff
path: root/BaseTools/Source/C/VfrCompile/VfrCompiler.h
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2016-08-01 19:18:31 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2016-08-08 11:07:24 +0800
commit74bbe31b8d485da26ec7ffad5e78b8384a9eb9a5 (patch)
tree8b03d9d40293a5f7cb0bd2b35cbb555453ccb680 /BaseTools/Source/C/VfrCompile/VfrCompiler.h
parentbec3a18108cf5839f3fb1f451c55e1b2afcbc747 (diff)
downloadedk2-platforms-74bbe31b8d485da26ec7ffad5e78b8384a9eb9a5.tar.xz
BaseTools/VfrCompile: Add two new option for VfrCompile
1.--autodefault option VfrCompile will generate default opcodes for questions if some default are missing. 2 --checkdefault option VfrCompile will check whether every question has no default or has all default. If not, will generate an error to let user know the question misses default. Cc: Liming Gao <liming.gao@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/C/VfrCompile/VfrCompiler.h')
-rw-r--r--BaseTools/Source/C/VfrCompile/VfrCompiler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/C/VfrCompile/VfrCompiler.h b/BaseTools/Source/C/VfrCompile/VfrCompiler.h
index f2d9814e68..7dd9dd0ecd 100644
--- a/BaseTools/Source/C/VfrCompile/VfrCompiler.h
+++ b/BaseTools/Source/C/VfrCompile/VfrCompiler.h
@@ -57,6 +57,8 @@ typedef struct {
BOOLEAN HasOverrideClassGuid;
EFI_GUID OverrideClassGuid;
BOOLEAN WarningAsError;
+ BOOLEAN AutoDefault;
+ BOOLEAN CheckDefault;
} OPTIONS;
typedef enum {
@@ -88,7 +90,6 @@ private:
VOID SET_RUN_STATUS (IN COMPILER_RUN_STATUS);
BOOLEAN IS_RUN_STATUS (IN COMPILER_RUN_STATUS);
- VOID UpdateInfoForDynamicOpcode (VOID);
public:
COMPILER_RUN_STATUS RunStatus (VOID) {