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:
gikidy 2008-12-04 06:56:34 +00:00
parent cc39b88baa
commit 9e21d6d026
3 changed files with 14 additions and 13 deletions

View File

@ -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
);

View File

@ -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);
}

View File

@ -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)