From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.42.1608139341083889978 for ; Wed, 16 Dec 2020 09:22:21 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B74891FB; Wed, 16 Dec 2020 09:22:20 -0800 (PST) Received: from e120189.arm.com (unknown [10.57.25.48]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 601243F66E; Wed, 16 Dec 2020 09:22:19 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io, ard.biesheuvel@arm.com, leif@nuviainc.com Cc: sami.mujawar@arm.com Subject: [PATCH v1 00/25] Fix Ecc reported errors in ArmPkg Date: Wed, 16 Dec 2020 17:21:35 +0000 Message-Id: <20201216172200.25846-1-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.17.1 From: Pierre Gondois The Ecc tools available in the BaseTools package checks for good practice coding standards. Some errors reported while running Ecc on the ArmPkg require modifications. The changes can be seen at: https://github.com/PierreARM/edk2/commits/1552_Ecc_ArmPkg_v1 Pierre Gondois (25): ArmPkg: Format header to fix Ecc crash in ArmMmuLib ArmPkg: Fix Ecc error 3002 in CompilerIntrinsicsLib ArmPkg: Fix Ecc error 3002 in OpteeLib ArmPkg: Fix Ecc error 3002 in ArmMmuLib ArmPkg: Fix Ecc error 3002 in TimerDxe ArmPkg: Fix Ecc error 3002 in MmCommunicationDxe ArmPkg: Fix Ecc error 3002 in CpuDxe ArmPkg: Fix Ecc error 3002 in SemihostFs ArmPkg: Fix Ecc error 3002 in ArmDisassemblerLib ArmPkg: Fix Ecc error 3001 in SemihostFs ArmPkg: Fix Ecc error 5005 in CpuDxe ArmPkg: Fix Ecc error 5005 in ArmExceptionLib ArmPkg: Fix Ecc error 5007 in CompilerIntrinsicsLib ArmPkg: Fix Ecc error 5007 in ArmScmiDxe ArmPkg: Fix Ecc error 5007 in CpuDxe ArmPkg: Fix Ecc error 5007 in TimerDxe ArmPkg: Fix Ecc error 5007 in SemihostFs ArmPkg: Fix Ecc error 5007 in ArmCacheMaintenanceLib ArmPkg: Fix Ecc error 5007 in ArmDisassemblerLib ArmPkg: Fix Ecc error 5007 in ArmLib ArmPkg: Fix Ecc error 5007 in ArmMmuLib ArmPkg: Fix Ecc error 5007 in SemiHostingSerialPortLib ArmPkg: Fix Ecc error 5007 in SemihostLib ArmPkg: Fix Ecc error 5007 in StandaloneMmMmuLib ArmPkg: Fix Ecc error 5007 in DefaultExceptionHandlerLib ArmPkg/Drivers/ArmScmiDxe/Scmi.c | 5 ++- ArmPkg/Drivers/ArmScmiDxe/ScmiClockProtocol.c | 8 ++-- ArmPkg/Drivers/CpuDxe/AArch64/Mmu.c | 8 ++-- ArmPkg/Drivers/CpuDxe/Arm/Mmu.c | 14 +++---- ArmPkg/Drivers/CpuDxe/Exception.c | 8 ++-- .../MmCommunicationDxe/MmCommunication.c | 4 +- ArmPkg/Drivers/TimerDxe/TimerDxe.c | 7 ++-- ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c | 25 ++++++----- .../ArmCacheMaintenanceLib.c | 13 +++--- .../ArmDisassemblerLib/ArmDisassembler.c | 11 ++++- .../Library/ArmExceptionLib/ArmExceptionLib.c | 5 ++- ArmPkg/Library/ArmLib/ArmLib.c | 20 +++------ .../Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 2 +- .../AArch64/ArmMmuPeiLibConstructor.c | 14 +++---- .../Library/ArmMmuLib/Arm/ArmMmuLibUpdate.c | 34 +++++++-------- .../Library/CompilerIntrinsicsLib/memcmp_ms.c | 10 +++-- ArmPkg/Library/CompilerIntrinsicsLib/memcpy.c | 11 +++-- .../Library/CompilerIntrinsicsLib/memcpy_ms.c | 11 +++-- .../CompilerIntrinsicsLib/memmove_ms.c | 14 +++++-- ArmPkg/Library/CompilerIntrinsicsLib/memset.c | 8 +++- .../Library/CompilerIntrinsicsLib/memset_ms.c | 8 +++- .../Arm/DefaultExceptionHandler.c | 41 ++++++++++--------- ArmPkg/Library/OpteeLib/Optee.c | 7 ++-- .../SemiHostingSerialPortLib/SerialPortLib.c | 8 +++- ArmPkg/Library/SemihostLib/SemihostLib.c | 6 +-- .../AArch64/ArmMmuStandaloneMmLib.c | 13 +++--- 26 files changed, 182 insertions(+), 133 deletions(-) -- 2.17.1