diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-11-23 13:14:27 +0100 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-11-29 18:54:09 +0100 |
commit | 95d04ebca8be8f71a23e85a2f4822ba90a2e32cc (patch) | |
tree | 6813d0031bcb4a3462b0db112f99475160fbd312 /ArmPkg/Include/Library | |
parent | 82379bf6603274e81604d5a6f6bb14bdde616286 (diff) | |
download | edk2-95d04ebca8be8f71a23e85a2f4822ba90a2e32cc.tar.gz edk2-95d04ebca8be8f71a23e85a2f4822ba90a2e32cc.tar.bz2 edk2-95d04ebca8be8f71a23e85a2f4822ba90a2e32cc.zip |
ArmPkg/ArmLib: add support for reading the max physical address space size
Add a helper function that returns the maximum physical address space
size as supported by the current CPU.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'ArmPkg/Include/Library')
-rw-r--r-- | ArmPkg/Include/Library/ArmLib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ArmPkg/Include/Library/ArmLib.h b/ArmPkg/Include/Library/ArmLib.h index ffda50e9d7..9a804c15fd 100644 --- a/ArmPkg/Include/Library/ArmLib.h +++ b/ArmPkg/Include/Library/ArmLib.h @@ -733,4 +733,10 @@ ArmWriteCntvOff ( UINT64 Val
);
+UINTN
+EFIAPI
+ArmGetPhysicalAddressBits (
+ VOID
+ );
+
#endif // __ARM_LIB__
|