]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/config.ini
Sync BaseTool trunk (version r2460) into EDKII BaseTools. The change mainly includes:
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / config.ini
index a3215aedaa9d49231bfa7638ce99f189e43308ca..c55276fce75bd073ae782a0aaa20fced7df4fe5f 100644 (file)
@@ -2,8 +2,8 @@
 # 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, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2007 - 2010, 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
@@ -21,7 +21,7 @@ Version = 0.1
 # Identify to if check all items\r
 # 1 - Check all items and ignore all other detailed items\r
 # 0 - Not check all items, the tool will go through all other detailed items to decide to check or not\r
-# \r
+#\r
 CheckAll = 0\r
 \r
 #\r
@@ -68,6 +68,8 @@ GeneralCheckNoProgma = 1
 GeneralCheckCarriageReturn = 1\r
 # Check whether the file exists\r
 GeneralCheckFileExistence = 1\r
+# Check whether file has non ACSII char\r
+GeneralCheckNonAcsii = 1\r
 \r
 #\r
 # Space Checking\r
@@ -81,7 +83,7 @@ PredicateExpressionCheckAll = 0
 \r
 # Check whether Boolean values, variable type BOOLEAN not use explicit comparisons to TRUE or FALSE\r
 PredicateExpressionCheckBooleanValue = 1\r
-# Check whether Non-Boolean comparisons use a compare operator (==, !=, >, < >=, <=). \r
+# Check whether Non-Boolean comparisons use a compare operator (==, !=, >, < >=, <=).\r
 PredicateExpressionCheckNonBooleanOperator = 1\r
 # Check whether a comparison of any pointer to zero must be done via the NULL type\r
 PredicateExpressionCheckComparisonNullType = 1\r
@@ -95,6 +97,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
@@ -189,7 +199,7 @@ DoxygenCheckAll = 0
 DoxygenCheckFileHeader = 1\r
 # Check whether the function headers are followed Doxygen special documentation blocks in section 2.3.5\r
 DoxygenCheckFunctionHeader = 1\r
-# Check whether the first line of text in a comment block is a brief description of the element being documented. \r
+# Check whether the first line of text in a comment block is a brief description of the element being documented.\r
 # The brief description must end with a period.\r
 DoxygenCheckCommentDescription = 1\r
 # Check whether comment lines with '///< ... text ...' format, if it is used, it should be after the code section.\r
@@ -208,8 +218,8 @@ MetaDataFileCheckPathName = 1
 MetaDataFileCheckGenerateFileList = 1\r
 # The path of log file\r
 MetaDataFileCheckPathOfGenerateFileList = File.log\r
-# Check whether all Library Instances defined for a given module (or dependent library instance) match the module's type.  \r
-# Each Library Instance must specify the Supported Module Types in its INF file, \r
+# Check whether all Library Instances defined for a given module (or dependent library instance) match the module's type.\r
+# Each Library Instance must specify the Supported Module Types in its INF file,\r
 # and any module specifying the library instance must be one of the supported types.\r
 MetaDataFileCheckLibraryInstance = 1\r
 # Check whether a Library Instance has been defined for all dependent library classes\r
@@ -233,6 +243,8 @@ MetaDataFileCheckGuidDuplicate = 1
 MetaDataFileCheckModuleFileNoUse = 1\r
 # Check whether the PCD is correctly used in C function via its type\r
 MetaDataFileCheckPcdType = 1\r
+# Check whether there are FILE_GUID duplication among different INF files\r
+MetaDataFileCheckModuleFileGuidDuplication = 1\r
 \r
 #\r
 # The check points in this section are reserved\r
@@ -240,3 +252,6 @@ MetaDataFileCheckPcdType = 1
 # GotoStatementCheckAll = 0\r
 # SpellingCheckAll = 0\r
 #\r
+\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