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
This commit is contained in:
yshang1
2007-10-11 11:12:28 +00:00
parent a021b849f2
commit 4199d92d1c
7 changed files with 109 additions and 30 deletions

View File

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