diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-11 11:12:28 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-11 11:12:28 +0000 |
commit | 4199d92d1c5e2231e596e25a27acaffefa72a064 (patch) | |
tree | 27ed5536d177197d42bbb3a316d4f7e34dcd63e1 /MdePkg/Library/BaseCacheMaintenanceLib | |
parent | a021b849f212d124593070ea7d1c423f65d7c119 (diff) | |
download | edk2-platforms-4199d92d1c5e2231e596e25a27acaffefa72a064.tar.xz |
Add BasePalCallLibNull instance in MdePkg. It is useful when building IPF components in open source packages.
Use meaningful arguments defined in PalLib.h when invoking PalCall().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4094 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseCacheMaintenanceLib')
-rw-r--r-- | MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c b/MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c index 1007b4448f..17ef43d968 100644 --- a/MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c +++ b/MdePkg/Library/BaseCacheMaintenanceLib/IpfCache.c @@ -36,7 +36,7 @@ InvalidateInstructionCache ( VOID
)
{
- PalCall (1, 1, 1, 0);
+ PalCall (PAL_CACHE_FLUSH, PAL_CACHE_FLUSH_INSTRUCTION_ALL, PAL_CACHE_FLUSH_INVALIDATE_LINES, 0);
}
/**
@@ -90,7 +90,7 @@ WriteBackInvalidateDataCache ( VOID
)
{
- PalCall (1, 2, 1, 0);
+ PalCall (PAL_CACHE_FLUSH, PAL_CACHE_FLUSH_DATA_ALL, PAL_CACHE_FLUSH_INVALIDATE_LINES, 0);
}
/**
@@ -147,7 +147,7 @@ WriteBackDataCache ( VOID
)
{
- PalCall (1, 2, 0, 0);
+ PalCall (PAL_CACHE_FLUSH, PAL_CACHE_FLUSH_DATA_ALL, PAL_CACHE_FLUSH_NO_INVALIDATE_LINES | PAL_CACHE_FLUSH_NO_INTERRUPT, 0);
}
/**
|