]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/VfrCompile/VfrCompiler.h
BaseTools: Various typo
[mirror_edk2.git] / BaseTools / Source / C / VfrCompile / VfrCompiler.h
index 6a6779c0ca478997961af69b96fd5e0b38e720ba..f96707debfb99f275fbaac5b8e65e4a0d27c7e62 100644 (file)
@@ -1,15 +1,15 @@
 /** @file\r
-  \r
-  VfrCompiler internal defintions.\r
-\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
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+\r
+  VfrCompiler internal definitions.\r
+\r
+Copyright (c) 2004 - 2018, 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
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
 \r
@@ -23,7 +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.4) "\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
@@ -41,15 +41,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define VFR_RECORDLIST_FILENAME_EXTENSION   ".lst"\r
 \r
 typedef struct {\r
-  CHAR8   VfrFileName[MAX_PATH];\r
-  CHAR8   RecordListFile[MAX_PATH];\r
-  CHAR8   PkgOutputFileName[MAX_PATH];\r
-  CHAR8   COutputFileName[MAX_PATH];\r
+  CHAR8   *VfrFileName;\r
+  CHAR8   *RecordListFile;\r
+  CHAR8   *PkgOutputFileName;\r
+  CHAR8   *COutputFileName;\r
   bool    CreateRecordListFile;\r
   bool    CreateIfrPkgFile;\r
-  CHAR8   OutputDirectory[MAX_PATH];\r
-  CHAR8   PreprocessorOutputFileName[MAX_PATH];\r
-  CHAR8   VfrBaseFileName[MAX_PATH];  // name of input VFR file with no path or extension\r
+  CHAR8   *OutputDirectory;\r
+  CHAR8   *PreprocessorOutputFileName;\r
+  CHAR8   *VfrBaseFileName;  // name of input VFR file with no path or extension\r
   CHAR8   *IncludePaths;\r
   bool    SkipCPreprocessor;\r
   CHAR8   *CPreprocessorOptions;\r
@@ -57,6 +57,8 @@ typedef struct {
   BOOLEAN HasOverrideClassGuid;\r
   EFI_GUID OverrideClassGuid;\r
   BOOLEAN WarningAsError;\r
+  BOOLEAN AutoDefault;\r
+  BOOLEAN CheckDefault;\r
 } OPTIONS;\r
 \r
 typedef enum {\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