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