]>
Commit | Line | Data |
---|---|---|
3059a38d MK |
1 | ## @file\r |
2 | # CI configuration for MdePkg\r | |
3 | #\r | |
4 | # Copyright (c) Microsoft Corporation\r | |
f04e7547 | 5 | # Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>\r |
3d359ff9 | 6 | # Copyright (c) 2021, Arm Limited. All rights reserved.<BR>\r |
3059a38d MK |
7 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
8 | ##\r | |
9 | {\r | |
c6486c3f SZ |
10 | ## options defined .pytool/Plugin/LicenseCheck\r |
11 | "LicenseCheck": {\r | |
12 | "IgnoreFiles": []\r | |
13 | },\r | |
f04e7547 SZ |
14 | "EccCheck": {\r |
15 | ## Exception sample looks like below:\r | |
16 | ## "ExceptionList": [\r | |
17 | ## "<ErrorID>", "<KeyWord>"\r | |
18 | ## ]\r | |
19 | "ExceptionList": [\r | |
df790cd6 MK |
20 | "9005", "@VDD",\r |
21 | "8005", "gST",\r | |
22 | "8005", "gBS",\r | |
23 | "8005", "gDS",\r | |
24 | "8005", "gDS",\r | |
25 | "8002", "va_list",\r | |
26 | "8005", "EFI_BLUETOOTH_LE_SCAN_CALLBACK_INFORMATION.RSSI",\r | |
27 | "8005", "void",\r | |
28 | "8005", "va_list.__ap",\r | |
29 | "8005", "__stack_chk_guard",\r | |
30 | "8001", "MSG_IPv6_DP",\r | |
31 | "8001", "MSG_IPv4_DP",\r | |
32 | "8001", "DEFAULT_ToS",\r | |
33 | "8001", "EFI_SERIAL_IO_PROTOCOL_REVISION1p1",\r | |
34 | "8001", "EFI_ABS_AltActive",\r | |
35 | "8001", "EFI_ABSP_SupportsAltActive",\r | |
36 | "8001", "_ReadWriteBarrier",\r | |
37 | "8001", "__va_copy",\r | |
38 | "8003", "__va_copy",\r | |
39 | "7007", "_EFI_LEGACY_SPI_CONTROLLER_PROTOCOL",\r | |
40 | "7007", "_EFI_LEGACY_SPI_FLASH_PROTOCOL",\r | |
41 | "7007", "_EFI_SPI_NOR_FLASH_PROTOCOL",\r | |
42 | "7007", "_EFI_SPI_HC_PROTOCOL",\r | |
43 | "8002", "aligned (",\r | |
44 | "4002", "_ReturnAddress"\r | |
f04e7547 SZ |
45 | ],\r |
46 | ## Both file path and directory path are accepted.\r | |
47 | "IgnoreFiles": [\r | |
df790cd6 MK |
48 | "Include/IndustryStandard/Acpi64.h",\r |
49 | "Include/IndustryStandard/Tpm12.h",\r | |
50 | "Include/IndustryStandard/Tpm20.h",\r | |
51 | "Include/IndustryStandard/IoRemappingTable.h",\r | |
52 | "Include/IndustryStandard/UefiTcgPlatform.h",\r | |
53 | "Include/Library/PcdLib.h",\r | |
54 | "Include/Library/SafeIntLib.h",\r | |
0371178d | 55 | "Include/Protocol/DebugSupport.h",\r |
df790cd6 | 56 | "Test/UnitTest/Library/BaseSafeIntLib/TestBaseSafeIntLib.c"\r |
f04e7547 SZ |
57 | ]\r |
58 | },\r | |
3059a38d MK |
59 | ## options defined ci/Plugin/CompilerPlugin\r |
60 | "CompilerPlugin": {\r | |
61 | "DscPath": "MdePkg.dsc"\r | |
62 | },\r | |
63 | \r | |
e50c2bb3 MK |
64 | ## options defined ci/Plugin/HostUnitTestCompilerPlugin\r |
65 | "HostUnitTestCompilerPlugin": {\r | |
66 | "DscPath": "Test/MdePkgHostTest.dsc"\r | |
67 | },\r | |
68 | \r | |
3059a38d | 69 | ## options defined ci/Plugin/CharEncodingCheck\r |
e50c2bb3 | 70 | "CharEncodingCheck": {\r |
3059a38d MK |
71 | "IgnoreFiles": []\r |
72 | },\r | |
73 | \r | |
74 | ## options defined ci/Plugin/DependencyCheck\r | |
75 | "DependencyCheck": {\r | |
76 | "AcceptableDependencies": [\r | |
77 | "MdePkg/MdePkg.dec"\r | |
78 | ],\r | |
79 | # For host based unit tests\r | |
e50c2bb3 MK |
80 | "AcceptableDependencies-HOST_APPLICATION":[\r |
81 | "UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec"\r | |
82 | ],\r | |
3059a38d MK |
83 | # For UEFI shell based apps\r |
84 | "AcceptableDependencies-UEFI_APPLICATION":[],\r | |
85 | "IgnoreInf": []\r | |
86 | },\r | |
87 | \r | |
88 | ## options defined ci/Plugin/DscCompleteCheck\r | |
89 | "DscCompleteCheck": {\r | |
e50c2bb3 | 90 | "IgnoreInf": [""],\r |
3059a38d MK |
91 | "DscPath": "MdePkg.dsc"\r |
92 | },\r | |
93 | \r | |
e50c2bb3 MK |
94 | ## options defined ci/Plugin/HostUnitTestDscCompleteCheck\r |
95 | "HostUnitTestDscCompleteCheck": {\r | |
96 | "IgnoreInf": [""],\r | |
97 | "DscPath": "Test/MdePkgHostTest.dsc"\r | |
98 | },\r | |
99 | \r | |
3059a38d MK |
100 | ## options defined ci/Plugin/GuidCheck\r |
101 | "GuidCheck": {\r | |
102 | "IgnoreGuidName": [\r | |
103 | "gEfiFirmwareVolumeTopFileGuid" # sec modules must be set to this guid\r | |
104 | ],\r | |
105 | "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"],\r | |
106 | "IgnoreFoldersAndFiles": [],\r | |
107 | "IgnoreDuplicates": [\r | |
108 | "gEfiFirmwareVolumeBlockProtocolGuid=gEfiFirmwareVolumeBlock2ProtocolGuid",\r | |
109 | "gEfiMmAccessProtocolGuid=gEfiSmmAccess2ProtocolGuid",\r | |
110 | "gEfiSmmCommunicationProtocolGuid=gEfiMmCommunicationProtocolGuid",\r | |
111 | "gEfiMmPciRootBridgeIoProtocolGuid=gEfiSmmPciRootBridgeIoProtocolGuid",\r | |
112 | "gEfiTrEEProtocolGuid=gEfiTcg2ProtocolGuid",\r | |
113 | "gEfiSmmPowerButtonDispatch2ProtocolGuid=gEfiMmPowerButtonDispatchProtocolGuid",\r | |
114 | "gEfiSmmBase2ProtocolGuid=gEfiMmBaseProtocolGuid",\r | |
115 | "gEfiSmmUsbDispatch2ProtocolGuid=gEfiMmUsbDispatchProtocolGuid",\r | |
116 | "gEfiSmmCpuProtocolGuid=gEfiMmCpuProtocolGuid",\r | |
117 | "gEfiAcpiTableGuid=gEfiAcpi20TableGuid",\r | |
118 | "gEfiSmmControl2ProtocolGuid=gEfiMmControlProtocolGuid",\r | |
119 | "gEfiSmmStandbyButtonDispatch2ProtocolGuid=gEfiMmStandbyButtonDispatchProtocolGuid",\r | |
120 | "gEfiSmmStatusCodeProtocolGuid=gEfiMmStatusCodeProtocolGuid",\r | |
121 | "gEfiDxeSmmReadyToLockProtocolGuid=gEfiDxeMmReadyToLockProtocolGuid",\r | |
122 | "gEfiSmmIoTrapDispatch2ProtocolGuid=gEfiMmIoTrapDispatchProtocolGuid",\r | |
123 | "gEfiSmmReadyToLockProtocolGuid=gEfiMmReadyToLockProtocolGuid",\r | |
124 | "gEfiSmmSxDispatch2ProtocolGuid=gEfiMmSxDispatchProtocolGuid",\r | |
125 | "gEfiPeiCapsulePpiGuid=gPeiCapsulePpiGuid",\r | |
126 | "gEfiSmmCpuIo2ProtocolGuid=gEfiMmCpuIoProtocolGuid",\r | |
127 | "gEfiSmmRscHandlerProtocolGuid=gEfiMmRscHandlerProtocolGuid",\r | |
128 | "gEfiSmmConfigurationProtocolGuid=gEfiMmConfigurationProtocolGuid",\r | |
129 | "gEfiSmmGpiDispatch2ProtocolGuid=gEfiMmGpiDispatchProtocolGuid",\r | |
130 | "gEfiSmmEndOfDxeProtocolGuid=gEfiMmEndOfDxeProtocolGuid",\r | |
131 | "gEfiSmmSwDispatch2ProtocolGuid=gEfiMmSwDispatchProtocolGuid",\r | |
132 | "gEfiDebugPortProtocolGuid=gEfiDebugPortVariableGuid=gEfiDebugPortDevicePathGuid", ## is this a bug\r | |
133 | "gEfiProcessorSpecificErrorSectionGuid=gEfiIa32X64ProcessorErrorSectionGuid", ## is this a bug\r | |
134 | "gEfiSmmPeriodicTimerDispatch2ProtocolGuid=gEfiMmPeriodicTimerDispatchProtocolGuid",\r | |
3059a38d | 135 | "gEfiPeiMmAccessPpiGuid=gPeiSmmAccessPpiGuid",\r |
8b4bb94f KQ |
136 | "gPeiSmmControlPpiGuid=gEfiPeiMmControlPpiGuid",\r |
137 | "gEfiPeiMmCommunicationPpiGuid=gEfiPeiSmmCommunicationPpiGuid",\r | |
3059a38d MK |
138 | ]\r |
139 | },\r | |
140 | \r | |
141 | ## options defined ci/Plugin/LibraryClassCheck\r | |
142 | "LibraryClassCheck": {\r | |
143 | "IgnoreHeaderFile": []\r | |
144 | },\r | |
145 | \r | |
146 | ## options defined ci/Plugin/SpellCheck\r | |
147 | "SpellCheck": {\r | |
148 | "AuditOnly": True, # Fails test but run in AuditOnly mode to collect log\r | |
149 | "IgnoreFiles": [], # use gitignore syntax to ignore errors in matching files\r | |
150 | "ExtendWords": [], # words to extend to the dictionary for this package\r | |
151 | "IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore\r | |
152 | "AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)\r | |
153 | }\r | |
154 | }\r |