diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-03-01 16:31:41 +0000 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-03-07 09:38:08 +0100 |
commit | d9c0d991f769c50e69d14a006bdbaaf31986143a (patch) | |
tree | 47de1ea5443ef0d1edbb127f6dc21f0e14c736fc /ArmPkg/Library/ArmMmuLib/AArch64 | |
parent | 521f3cedac4574c1431a3ad852ad160d9f849358 (diff) | |
download | edk2-d9c0d991f769c50e69d14a006bdbaaf31986143a.tar.gz edk2-d9c0d991f769c50e69d14a006bdbaaf31986143a.tar.bz2 edk2-d9c0d991f769c50e69d14a006bdbaaf31986143a.zip |
ArmPkg/ArmMmuLib: remove VirtualMask arg from ArmSetMemoryAttributes
We no longer make use of the ArmMmuLib 'feature' to create aliased
memory ranges with mismatched attributes, and in fact, it was only
wired up in the ARM version to begin with.
So remove the VirtualMask argument from ArmSetMemoryAttributes()'s
prototype, and remove the dead code that referred to it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Library/ArmMmuLib/AArch64')
-rw-r--r-- | ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c index 77f108971f..8bd1c6fad9 100644 --- a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c +++ b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibCore.c @@ -450,8 +450,7 @@ EFI_STATUS ArmSetMemoryAttributes (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length,
- IN UINT64 Attributes,
- IN EFI_PHYSICAL_ADDRESS VirtualMask
+ IN UINT64 Attributes
)
{
EFI_STATUS Status;
|