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.web08.9927.1619537582626409400 for ; Tue, 27 Apr 2021 08:33:02 -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 508E731B; Tue, 27 Apr 2021 08:33:02 -0700 (PDT) Received: from e120189.arm.com (unknown [10.57.3.114]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BC5AB3F73B; Tue, 27 Apr 2021 08:33:00 -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 v2 03/15] ArmPkg: Add missing library headers to ArmPkg.dec Date: Tue, 27 Apr 2021 16:32:39 +0100 Message-Id: <20210427153251.11576-4-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210427153251.11576-1-Pierre.Gondois@arm.com> References: <20210427153251.11576-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 Cc: Bret Barkelew Cc: Sean Brogan Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Sami Mujawar Signed-off-by: Pierre Gondois Reviewed-by: Bret Barkelew Reviewed-by: Sami Mujawar --- 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