]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Add missing library headers to ArmPkg.dec
authorPierre Gondois <Pierre.Gondois@arm.com>
Tue, 20 Apr 2021 13:56:18 +0000 (14:56 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 28 Apr 2021 12:03:51 +0000 (12:03 +0000)
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 <bret.barkelew@microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ArmPkg/ArmPkg.dec

index a8a22c649ff820e20eed988c74598f246b23ffdb..496f588bd0ca4a32bf896a559c8a7c5eb0fae3cb 100644 (file)
@@ -2,7 +2,7 @@
 # ARM processor package.\r
 #\r
 # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.<BR>\r
-# Copyright (c) 2011 - 2018, ARM Limited. All rights reserved.\r
+# Copyright (c) 2011 - 2021, ARM Limited. All rights reserved.\r
 #\r
 #    SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 [LibraryClasses.common]\r
   ArmLib|Include/Library/ArmLib.h\r
   ArmMmuLib|Include/Library/ArmMmuLib.h\r
-  SemihostLib|Include/Library/Semihosting.h\r
+  SemihostLib|Include/Library/SemihostLib.h\r
   DefaultExceptionHandlerLib|Include/Library/DefaultExceptionHandlerLib.h\r
   ArmDisassemblerLib|Include/Library/ArmDisassemblerLib.h\r
   ArmGicArchLib|Include/Library/ArmGicArchLib.h\r
-  ArmMtlLib|ArmPlatformPkg/Include/Library/ArmMtlLib.h\r
+  ArmMtlLib|Include/Library/ArmMtlLib.h\r
   ArmSvcLib|Include/Library/ArmSvcLib.h\r
   OpteeLib|Include/Library/OpteeLib.h\r
   StandaloneMmMmuLib|Include/Library/StandaloneMmMmuLib.h\r
+  ArmGenericTimerCounterLib|Include/Library/ArmGenericTimerCounterLib.h\r
+  ArmGicLib|Include/Library/ArmGicLib.h\r
+  ArmHvcLib|Include/Library/ArmHvcLib.h\r
+  OemMiscLib|Include/Library/OemMiscLib.h\r
+  ArmSmcLib|Include/Library/ArmSmcLib.h\r
+\r
 \r
 [Guids.common]\r
   gArmTokenSpaceGuid       = { 0xBB11ECFE, 0x820F, 0x4968, { 0xBB, 0xA6, 0xF7, 0x6A, 0xFE, 0x30, 0x25, 0x96 } }\r