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.web09.11341.1619007672331758274 for ; Wed, 21 Apr 2021 05:21:12 -0700 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 ED25B11FB; Wed, 21 Apr 2021 05:21:11 -0700 (PDT) Received: from e120189.arm.com (unknown [10.57.26.208]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4C9883F694; Wed, 21 Apr 2021 05:21:10 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io, sami.mujawar@arm.com, leif@nuviainc.com, ardb+tianocore@kernel.org, sean.brogan@microsoft.com, Bret.Barkelew@microsoft.com Subject: [PATCH v1 03/12] ArmPkg: Add missing library headers to ArmPkg.dec Date: Wed, 21 Apr 2021 13:20:39 +0100 Message-Id: <20210421122048.11729-4-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210421122048.11729-1-Pierre.Gondois@arm.com> References: <20210421122048.11729-1-Pierre.Gondois@arm.com> From: Pierre Gondois Some library headers are missing/incorrect in ArmPkg.dec. This makes the 'LibraryClassCheck' CI test fail. This patch adds/corrects them. According to .pytool/Readme about the 'LibraryClassCheck' test: This test scans at all library header files found in the `Library` folders in all of the package's declared include directories and ensures that all files have a matching LibraryClass declaration in the DEC file for the package. Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=3254 Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=3258 Signed-off-by: Pierre Gondois --- ArmPkg/ArmPkg.dec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec index a8a22c649ff8..496f588bd0ca 100644 --- a/ArmPkg/ArmPkg.dec +++ b/ArmPkg/ArmPkg.dec @@ -2,7 +2,7 @@ # ARM processor package. # # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.
-# Copyright (c) 2011 - 2018, ARM Limited. All rights reserved. +# Copyright (c) 2011 - 2021, ARM Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -29,14 +29,20 @@ [Includes.common] [LibraryClasses.common] ArmLib|Include/Library/ArmLib.h ArmMmuLib|Include/Library/ArmMmuLib.h - SemihostLib|Include/Library/Semihosting.h + SemihostLib|Include/Library/SemihostLib.h DefaultExceptionHandlerLib|Include/Library/DefaultExceptionHandlerLib.h ArmDisassemblerLib|Include/Library/ArmDisassemblerLib.h ArmGicArchLib|Include/Library/ArmGicArchLib.h - ArmMtlLib|ArmPlatformPkg/Include/Library/ArmMtlLib.h + ArmMtlLib|Include/Library/ArmMtlLib.h ArmSvcLib|Include/Library/ArmSvcLib.h OpteeLib|Include/Library/OpteeLib.h StandaloneMmMmuLib|Include/Library/StandaloneMmMmuLib.h + ArmGenericTimerCounterLib|Include/Library/ArmGenericTimerCounterLib.h + ArmGicLib|Include/Library/ArmGicLib.h + ArmHvcLib|Include/Library/ArmHvcLib.h + OemMiscLib|Include/Library/OemMiscLib.h + ArmSmcLib|Include/Library/ArmSmcLib.h + [Guids.common] gArmTokenSpaceGuid = { 0xBB11ECFE, 0x820F, 0x4968, { 0xBB, 0xA6, 0xF7, 0x6A, 0xFE, 0x30, 0x25, 0x96 } } -- 2.17.1