diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-11-18 15:58:46 +0000 |
---|---|---|
committer | abiesheuvel <abiesheuvel@Edk2> | 2015-11-18 15:58:46 +0000 |
commit | 2ea66ed9f9ea18cbe2681baaad29ce47ea9918a1 (patch) | |
tree | 98cf8d66c3bf5f796bbbaebb23866fce7187f0de /ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h | |
parent | 63dbd629649a4c5ccf83243e9482a4e0d092b422 (diff) | |
download | edk2-2ea66ed9f9ea18cbe2681baaad29ce47ea9918a1.tar.gz |
ArmPkg/ArmV7Lib: add function to test for presence of MP extensions
Some MMU manipulation is dependent on the presence of the multiprocessing
extensions. So add a function that returns this information.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18895 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h')
-rw-r--r-- | ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h b/ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h index df770cf7d7..e138613ca5 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h +++ b/ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h @@ -28,5 +28,11 @@ ArmReadIdMmfr0 ( VOID
);
+BOOLEAN
+EFIAPI
+ArmHasMpExtensions (
+ VOID
+ );
+
#endif // __ARM_V7_LIB_H__
|