]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VfrCompile/VfrCompiler.h
Sync BaseTool trunk (version r2670) into EDKII BaseTools.
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / VfrCompiler.h
index c32325f0b717efbc00e77db66735fa25ae08378e..3261e9ccdb1f99a36af3409895615bc04762a842 100644 (file)
@@ -2,7 +2,7 @@
   \r
   VfrCompiler internal defintions.\r
 \r
-Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2011, 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
@@ -20,10 +20,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include "EfiVfr.h"\r
 #include "VfrFormPkg.h"\r
 #include "VfrUtilityLib.h"\r
+#include "ParseInf.h"\r
 \r
 #define PROGRAM_NAME                       "VfrCompile"\r
-#define VFR_COMPILER_VERSION               " 1.95 (UEFI 2.1)"\r
-#define VFR_COMPILER_UPDATE_TIME           " updated on 2009/05/20"\r
+#define VFR_COMPILER_VERSION               " 2.00 (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
@@ -54,10 +54,14 @@ typedef struct {
   bool    SkipCPreprocessor;\r
   CHAR8   *CPreprocessorOptions;\r
   BOOLEAN CompatibleMode;\r
+  BOOLEAN HasOverrideClassGuid;\r
+  EFI_GUID OverrideClassGuid;\r
+  BOOLEAN WarningAsError;\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
@@ -84,6 +88,7 @@ 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