removed the use of PalCallStatic and changed to PalCall
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4022 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
71c827cafe
commit
d56c53cbb9
|
@ -48,6 +48,9 @@
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
DebugLib
|
DebugLib
|
||||||
|
|
||||||
|
[LibraryClasses.Ipf]
|
||||||
|
PalCallLib
|
||||||
|
|
||||||
[LibraryClasses.common]
|
[LibraryClasses.common]
|
||||||
BaseLib
|
BaseLib
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <Library/CacheMaintenanceLib.h>
|
#include <Library/CacheMaintenanceLib.h>
|
||||||
#include <Library/BaseLib.h>
|
#include <Library/BaseLib.h>
|
||||||
#include <Library/DebugLib.h>
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/PalCallLib.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Invalidates the entire instruction cache in cache coherency domain of the
|
Invalidates the entire instruction cache in cache coherency domain of the
|
||||||
|
@ -35,7 +36,7 @@ InvalidateInstructionCache (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PalCallStatic (NULL, 1, 1, 1, 0);
|
PalCall (1, 1, 1, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -89,7 +90,7 @@ WriteBackInvalidateDataCache (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PalCallStatic (NULL, 1, 2, 1, 0);
|
PalCall (1, 2, 1, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -146,7 +147,7 @@ WriteBackDataCache (
|
||||||
VOID
|
VOID
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PalCallStatic (NULL, 1, 2, 0, 0);
|
PalCall (1, 2, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue