]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ArmLib: clean up library includes
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 26 Feb 2020 12:49:03 +0000 (13:49 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 5 Mar 2020 21:08:30 +0000 (21:08 +0000)
commitb58ec859c78c7b0c120ac040dc4dd1790d926c7c
tree27f62fa341c1631ed59ec31c0d7da48429037a22
parentf9ec8e51d28b52dca9aa5a3aa75c7112f4cf6b73
ArmPkg/ArmLib: clean up library includes

Suspiciously, ArmLib's INF does not contain a [LibraryClasses]
section at all, but it turns out that all the library includes
it contains (except for ArmLib.h itself) are actually bogus so
let's just drop all of them. While at it, replace <Uefi.h> with
the more accurate <Base.h> for a BASE type module, and put the
includes in a consistent order.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
ArmPkg/Library/ArmLib/AArch64/AArch64Lib.c
ArmPkg/Library/ArmLib/Arm/ArmV7Lib.c
ArmPkg/Library/ArmLib/ArmLib.c