mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
0676fadd05
commit
d9bd3f11cb
|
@ -450,18 +450,6 @@ ArmMmuEnabled (
|
|||
VOID
|
||||
);
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
ArmSwitchProcessorMode (
|
||||
IN ARM_PROCESSOR_MODE Mode
|
||||
);
|
||||
|
||||
ARM_PROCESSOR_MODE
|
||||
EFIAPI
|
||||
ArmProcessorMode (
|
||||
VOID
|
||||
);
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
ArmEnableBranchPrediction (
|
||||
|
|
|
@ -41,25 +41,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 (
|
||||
|
|
Loading…
Reference in New Issue