]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ArmLib: move set/way helper functions into private header
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 26 Feb 2020 09:07:37 +0000 (10:07 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 5 Mar 2020 21:08:30 +0000 (21:08 +0000)
commitf9ec8e51d28b52dca9aa5a3aa75c7112f4cf6b73
treefaa3f17cab750d9e27cad26f0d738c27991ffa4a
parent3391e20ffa3fc4cb34d4b19c28922f7e7b0edf45
ArmPkg/ArmLib: move set/way helper functions into private header

The clean/invalidate helper functions that operate on a single cache
line identified by set, way and level in a special, architected format
are only used by the implementations of the clean/invalidate routines
that operate on the entire cache hierarchy, as exposed by ArmLib.

The latter routines will be deprecated soon, so move the helpers out
of ArmLib.h and into a private header so they are safe from abuse.

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