[edk2-devel] [Patch V3 4/4] UefiCpuPkg: Add CpuExceptionHandlerTest.h in ECC IgnoreFile

Ni, Ray ray.ni at intel.com
Fri Oct 14 09:39:39 UTC 2022


Can we use BaseTools/Source/Python/Ecc/exception.xml to mark exceptions of R8/R9/etc.
instead of ignoring the entire H file?

Thanks,
ray

> -----Original Message-----
> From: Tan, Dun <dun.tan at intel.com>
> Sent: Friday, October 14, 2022 5:20 PM
> To: devel at edk2.groups.io
> Cc: Dong, Eric <eric.dong at intel.com>; Ni, Ray <ray.ni at intel.com>; Kumar, Rahul R <rahul.r.kumar at intel.com>
> Subject: [Patch V3 4/4] UefiCpuPkg: Add CpuExceptionHandlerTest.h in ECC IgnoreFile
> 
> Add CpuExceptionHandlerTest.h in EccCheck IgnoreFiles of
> UefiCpuPkg/UefiCpuPkg.ci.yaml to pass ECC check. The
> GENERAL_REGISTER.R8 in this file triggers EccCheck failure
> since no lower case characters in R8/R9/R10.
> 
> Signed-off-by: Dun Tan <dun.tan at intel.com>
> Cc: Eric Dong <eric.dong at intel.com>
> Cc: Ray Ni <ray.ni at intel.com>
> Cc: Rahul Kumar <rahul1.kumar at intel.com>
> ---
>  UefiCpuPkg/UefiCpuPkg.ci.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/UefiCpuPkg/UefiCpuPkg.ci.yaml b/UefiCpuPkg/UefiCpuPkg.ci.yaml
> index bbdc44a45b..1acc6daa76 100644
> --- a/UefiCpuPkg/UefiCpuPkg.ci.yaml
> +++ b/UefiCpuPkg/UefiCpuPkg.ci.yaml
> @@ -19,6 +19,7 @@
>          ],
>          ## Both file path and directory path are accepted.
>          "IgnoreFiles": [
> +            "CpuExceptionHandlerUnitTest/CpuExceptionHandlerTest.h"
>          ]
>      },
>      "CompilerPlugin": {
> --
> 2.31.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#95204): https://edk2.groups.io/g/devel/message/95204
Mute This Topic: https://groups.io/mt/94323062/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list