mirror of https://github.com/acidanthera/audk.git
Change function IpfFlushCacheRange() to AsmFlushCacheRange() follow the Mde_Lib_Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6835 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
cc39b88baa
commit
9e21d6d026
|
@ -3694,7 +3694,7 @@ CpuDeadLoop (
|
|||
-1 is invalidated. This function may choose to invalidate the entire
|
||||
instruction cache if that is more efficient than invalidating the specified
|
||||
range. If Length is 0, the no instruction cache lines are invalidated.
|
||||
Address is returned.
|
||||
Address is returned. This function is only available on IPF.
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - Address + 1), then ASSERT().
|
||||
|
||||
|
@ -3710,7 +3710,7 @@ CpuDeadLoop (
|
|||
**/
|
||||
VOID *
|
||||
EFIAPI
|
||||
IpfFlushCacheRange (
|
||||
AsmFlushCacheRange (
|
||||
IN VOID *Address,
|
||||
IN UINTN Length
|
||||
);
|
||||
|
|
|
@ -71,7 +71,7 @@ InvalidateInstructionCacheRange (
|
|||
IN UINTN Length
|
||||
)
|
||||
{
|
||||
return IpfFlushCacheRange (Address, Length);
|
||||
return AsmFlushCacheRange (Address, Length);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -128,7 +128,7 @@ WriteBackInvalidateDataCacheRange (
|
|||
{
|
||||
ASSERT (Length <= MAX_ADDRESS - (UINTN)Address + 1);
|
||||
|
||||
return IpfFlushCacheRange (Address, Length);
|
||||
return AsmFlushCacheRange (Address, Length);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -184,7 +184,7 @@ WriteBackDataCacheRange (
|
|||
{
|
||||
ASSERT (Length <= MAX_ADDRESS - (UINTN)Address + 1);
|
||||
|
||||
return IpfFlushCacheRange (Address, Length);
|
||||
return AsmFlushCacheRange (Address, Length);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -241,5 +241,5 @@ InvalidateDataCacheRange (
|
|||
IN UINTN Length
|
||||
)
|
||||
{
|
||||
return IpfFlushCacheRange (Address, Length);
|
||||
return AsmFlushCacheRange (Address, Length);
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
// invalidate the entire instruction cache if that is more efficient than
|
||||
// invalidating the specified range. If Length is 0, the no instruction cache
|
||||
// lines are invalidated. Address is returned.
|
||||
// This function is only available on IPF.
|
||||
//
|
||||
// If Length is greater than (MAX_ADDRESS - Address + 1), then ASSERT().
|
||||
//
|
||||
|
@ -46,12 +47,12 @@
|
|||
//
|
||||
// VOID *
|
||||
// EFIAPI
|
||||
// IpfFlushCacheRange (
|
||||
// AsmFlushCacheRange (
|
||||
// IN VOID *Address,
|
||||
// IN UINTN Length
|
||||
// );
|
||||
//
|
||||
PROCEDURE_ENTRY (IpfFlushCacheRange)
|
||||
PROCEDURE_ENTRY (AsmFlushCacheRange)
|
||||
|
||||
NESTED_SETUP (5,8,0,0)
|
||||
|
||||
|
@ -90,5 +91,5 @@ DoneFlushingC:
|
|||
mov r8 = in0 // return *Address
|
||||
NESTED_RETURN
|
||||
|
||||
PROCEDURE_EXIT (IpfFlushCacheRange)
|
||||
PROCEDURE_EXIT (AsmFlushCacheRange)
|
||||
|
||||
|
|
Loading…
Reference in New Issue