X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FVfrCompile%2FVfrCompiler.h;h=f96707debfb99f275fbaac5b8e65e4a0d27c7e62;hp=f2d9814e68ae9a77295f3271b6129e1c194d52d8;hb=fb0b35e05f772bd415fe264267bbbcde2e0accda;hpb=452582852dc3654ce51e0c6072aaf752d1b0e3ed diff --git a/BaseTools/Source/C/VfrCompile/VfrCompiler.h b/BaseTools/Source/C/VfrCompile/VfrCompiler.h index f2d9814e68..f96707debf 100644 --- a/BaseTools/Source/C/VfrCompile/VfrCompiler.h +++ b/BaseTools/Source/C/VfrCompile/VfrCompiler.h @@ -1,15 +1,15 @@ /** @file - - VfrCompiler internal defintions. - -Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
-This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + + VfrCompiler internal definitions. + +Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
+This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ @@ -41,15 +41,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #define VFR_RECORDLIST_FILENAME_EXTENSION ".lst" typedef struct { - CHAR8 VfrFileName[MAX_PATH]; - CHAR8 RecordListFile[MAX_PATH]; - CHAR8 PkgOutputFileName[MAX_PATH]; - CHAR8 COutputFileName[MAX_PATH]; + CHAR8 *VfrFileName; + CHAR8 *RecordListFile; + CHAR8 *PkgOutputFileName; + CHAR8 *COutputFileName; bool CreateRecordListFile; bool CreateIfrPkgFile; - CHAR8 OutputDirectory[MAX_PATH]; - CHAR8 PreprocessorOutputFileName[MAX_PATH]; - CHAR8 VfrBaseFileName[MAX_PATH]; // name of input VFR file with no path or extension + CHAR8 *OutputDirectory; + CHAR8 *PreprocessorOutputFileName; + CHAR8 *VfrBaseFileName; // name of input VFR file with no path or extension CHAR8 *IncludePaths; bool SkipCPreprocessor; CHAR8 *CPreprocessorOptions; @@ -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) {