Chao:

 You can to add them ECC exception list in MdePkg\MdePkg.ci.yaml if they are all defined in MdePkg.

 

Thanks

Liming

发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Chao Li
发送时间: 2022421 16:53
收件人: "gaoliming" <gaoliming@byosoft.com.cn>
抄送: devel@edk2.groups.io; spbrogan@outlook.com
主题: Re: [edk2-devel] 回复: edk2-devel] Some questions about Azure CI

 

Hi Liming,

 

For Q2, all ECC errors is come from register naming. I think what you are pointing out is not UEFI SPEC, we have the LoongArch ISA manual on GitHub where all of register naming are defined. Dose that means it is a public SPEC? If yes, what should I do to get the Azure CI ECC to pass?

 

LoongArch ISA manual link: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html

 

Hope you reply, thank you!

 

--
Thanks,
Chao
------------------------

 

On 4 20 2022, at 7:39 早上, "gaoliming" <gaoliming@byosoft.com.cn> wrote:

For Q2, if key word is defined in public spec, they can be handled as the exception.  You can see MdePkg\MdePkg.ci.yaml EccCheck section that has ExceptionList and IgnoreFiles.

 

 

 

Thanks

 

Liming

 

发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Sean

发送时间: 2022420 0:39

主题: Re: [edk2-devel] Some questions about Azure CI

 

 

Q1 - There should be more details in the actual log file, but your code has formatting errors.   In the last few months, the uncrusitfy tool has been introduced to get common formatting errors fixed.   See details here: EDK II Code Formatting · tianocore/tianocore.github.io Wiki

 

Q2 - New code additions require passing ECC.  You will just need to work through the reported errors. 

 

Thanks

Sean

 

Sent from Mailspring