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