]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VfrCompile/VfrCompiler.h
BaseTools/GenFv: Add checks for user/file inputs
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / VfrCompiler.h
index fe29f7e3af3c3e4f6573ef4ec9b3fbcb21e4a91c..7dd9dd0ecd5a586613c6e6fbf0b6bff4cef33985 100644 (file)
@@ -2,7 +2,7 @@
   \r
   VfrCompiler internal defintions.\r
 \r
-Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -23,8 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include "ParseInf.h"\r
 \r
 #define PROGRAM_NAME                       "VfrCompile"\r
-#define VFR_COMPILER_VERSION               " 2.00 (UEFI 2.3.1)"\r
-#define VFR_COMPILER_UPDATE_TIME           " updated on 2011/07/15"\r
+#define VFR_COMPILER_VERSION               " 2.01 (UEFI 2.4) "\r
 //\r
 // This is how we invoke the C preprocessor on the VFR source file\r
 // to resolve #defines, #includes, etc. To make C source files\r
@@ -58,10 +57,13 @@ typedef struct {
   BOOLEAN HasOverrideClassGuid;\r
   EFI_GUID OverrideClassGuid;\r
   BOOLEAN WarningAsError;\r
+  BOOLEAN AutoDefault;\r
+  BOOLEAN CheckDefault;\r
 } OPTIONS;\r
 \r
 typedef enum {\r
-  STATUS_INITIALIZED = 1,\r
+  STATUS_STARTED = 0,\r
+  STATUS_INITIALIZED,\r
   STATUS_PREPROCESSED,\r
   STATUS_COMPILEED,\r
   STATUS_GENBINARY,\r
@@ -88,7 +90,6 @@ private:
 \r
   VOID    SET_RUN_STATUS (IN COMPILER_RUN_STATUS);\r
   BOOLEAN IS_RUN_STATUS (IN COMPILER_RUN_STATUS);\r
-  VOID    UpdateInfoForDynamicOpcode (VOID);\r
 \r
 public:\r
   COMPILER_RUN_STATUS RunStatus (VOID) {\r
@@ -100,6 +101,7 @@ public:
   ~CVfrCompiler ();\r
 \r
   VOID                Usage (VOID);\r
+  VOID                Version (VOID);\r
 \r
   VOID                PreProcess (VOID);\r
   VOID                Compile (VOID);\r