diff options
author | Olivier Martin <olivier.martin@arm.com> | 2014-03-24 15:25:44 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-03-24 15:25:44 +0000 |
commit | d9bd3f11cb47f8026a44721670f4abdfb9728a2a (patch) | |
tree | 18ad1a2a5bac99b7675c2940c7d629c2c41e1d9b /ArmPkg | |
parent | 0676fadd055203e784975f61b3f3c1778d4df499 (diff) | |
download | edk2-d9bd3f11cb47f8026a44721670f4abdfb9728a2a.tar.gz edk2-d9bd3f11cb47f8026a44721670f4abdfb9728a2a.tar.bz2 edk2-d9bd3f11cb47f8026a44721670f4abdfb9728a2a.zip |
ArmPkg/ArmLib: Removed unused ArmSwitchProcessorMode & ArmProcessorMode functions
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15380 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg')
-rw-r--r-- | ArmPkg/Include/Library/ArmLib.h | 12 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Common/ArmLib.c | 19 |
2 files changed, 0 insertions, 31 deletions
diff --git a/ArmPkg/Include/Library/ArmLib.h b/ArmPkg/Include/Library/ArmLib.h index 82f0c4b39c..7a0467130d 100644 --- a/ArmPkg/Include/Library/ArmLib.h +++ b/ArmPkg/Include/Library/ArmLib.h @@ -452,18 +452,6 @@ ArmMmuEnabled ( VOID
EFIAPI
-ArmSwitchProcessorMode (
- IN ARM_PROCESSOR_MODE Mode
- );
-
-ARM_PROCESSOR_MODE
-EFIAPI
-ArmProcessorMode (
- VOID
- );
-
-VOID
-EFIAPI
ArmEnableBranchPrediction (
VOID
);
diff --git a/ArmPkg/Library/ArmLib/Common/ArmLib.c b/ArmPkg/Library/ArmLib/Common/ArmLib.c index a7b9551ba1..d70003ebb0 100644 --- a/ArmPkg/Library/ArmLib/Common/ArmLib.c +++ b/ArmPkg/Library/ArmLib/Common/ArmLib.c @@ -43,25 +43,6 @@ ArmCacheInformation ( VOID
EFIAPI
-ArmSwitchProcessorMode (
- IN ARM_PROCESSOR_MODE Mode
- )
-{
- CPSRMaskInsert(ARM_PROCESSOR_MODE_MASK, Mode);
-}
-
-
-ARM_PROCESSOR_MODE
-EFIAPI
-ArmProcessorMode (
- VOID
- )
-{
- return (ARM_PROCESSOR_MODE)(CPSRRead() & (UINT32)ARM_PROCESSOR_MODE_MASK);
-}
-
-VOID
-EFIAPI
ArmSetAuxCrBit (
IN UINT32 Bits
)
|