]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/config.ini
BaseTools: Enhance BaseTools supports FixedAtBuild usage in VFR file
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / config.ini
index 357c52ced0f39edc3c5add83a40e487a4e7151b9..e97c718dcd2b190e030c9ef00b73f2798f4febf2 100644 (file)
@@ -2,7 +2,7 @@
 # This file is used to set configuration of ECC tool\r
 # For the items listed below, 1 means valid, 0 means invalid\r
 #\r
-# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2015, 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
@@ -41,7 +41,7 @@ AutoCorrect = 1
 #\r
 # List customized Modifer here, split with ','\r
 #\r
-ModifierList = IN, OUT, OPTIONAL, UNALIGNED, EFI_RUNTIMESERVICE, EFI_BOOTSERVICE, EFIAPI, TPMINTERNALAPI\r
+ModifierList = IN, OUT, OPTIONAL, UNALIGNED, EFI_RUNTIMESERVICE, EFI_BOOTSERVICE, EFIAPI, TPMINTERNALAPI, STATIC\r
 \r
 #\r
 # General Checking\r
@@ -70,6 +70,8 @@ GeneralCheckCarriageReturn = 1
 GeneralCheckFileExistence = 1\r
 # Check whether file has non ACSII char\r
 GeneralCheckNonAcsii = 1\r
+# Check whether UNI file is valid\r
+GeneralCheckUni = 1\r
 \r
 #\r
 # Space Checking\r
@@ -97,6 +99,14 @@ HeaderCheckAll = 0
 HeaderCheckFile = 1\r
 # Check whether Function header exists\r
 HeaderCheckFunction = 1\r
+# Check whether Meta data File header Comment End with '##'\r
+HeaderCheckFileCommentEnd = 0\r
+# Check whether C File header Comment content start with two spaces\r
+HeaderCheckCFileCommentStartSpacesNum = 0\r
+# Check whether C File header Comment's each reference at list should begin with a bullet character '-'\r
+HeaderCheckCFileCommentReferenceFormat = 0\r
+# Check whether C File header Comment have the License immediately after the ""Copyright"" line\r
+HeaderCheckCFileCommentLicenseFormat = 0\r
 \r
 #\r
 # C Function Layout Checking\r
@@ -220,6 +230,8 @@ MetaDataFileCheckLibraryInstanceDependent = 1
 MetaDataFileCheckLibraryInstanceOrder = 1\r
 # Check whether the unnecessary inclusion of library classes in the INF file\r
 MetaDataFileCheckLibraryNoUse = 1\r
+# Check the header file in Include\Library directory whether be defined in the package DEC file.\r
+MetaDataFileCheckLibraryDefinedInDec = 1\r
 # Check whether an INF file is specified in the FDF file, but not in the DSC file, then the INF file must be for a Binary module only\r
 MetaDataFileCheckBinaryInfInFdf = 1\r
 # Not to report error and warning related OS include file such as "windows.h" and "stdio.h".\r
@@ -228,7 +240,7 @@ MetaDataFileCheckPcdDuplicate = 1
 # Check whether PCD settings in the FDF file can only be related to flash.\r
 MetaDataFileCheckPcdFlash = 1\r
 # Check whether PCDs used in INF files but not specified in DSC or FDF files\r
-MetaDataFileCheckPcdNoUse = 1\r
+MetaDataFileCheckPcdNoUse = 0\r
 # Check whether having duplicate guids defined for Guid/Protocol/Ppi\r
 MetaDataFileCheckGuidDuplicate = 1\r
 # Check whether all files under module directory are described in INF files\r
@@ -238,6 +250,17 @@ MetaDataFileCheckPcdType = 1
 # Check whether there are FILE_GUID duplication among different INF files\r
 MetaDataFileCheckModuleFileGuidDuplication = 1\r
 \r
+#\r
+# Uni File Processing Checking\r
+#\r
+UniCheckAll = 0\r
+# Check INF or DEC file whether defined the localized information in the associated UNI file.\r
+UniCheckHelpInfo = 1\r
+# Check PCD whether defined the prompt, help in the DEC file and localized information in the associated UNI file.\r
+UniCheckPCDInfo = 1\r
+# Uncheck whether UNI file is in UTF-16 format\r
+GeneralCheckUni = -1\r
+\r
 #\r
 # The check points in this section are reserved\r
 #\r
@@ -247,3 +270,5 @@ MetaDataFileCheckModuleFileGuidDuplication = 1
 \r
 # A list for binary file ext name\r
 BinaryExtList = EXE, EFI, FV, ROM, DLL, COM, BMP, GIF, PYD, CMP, BIN, JPG, UNI, RAW, COM2, LIB, DEPEX, SYS, DB\r
+# A list for only scanning dirs, the dirs should be the top folder(s) under workspace\r
+ScanOnlyDirList = ScanFolder1 ScanFolder2\r