diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-08 03:50:37 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-08 03:50:37 +0000 |
commit | a3a15d2108bb276f8a668a059c86ccfc101e5986 (patch) | |
tree | 3baf3078bdbecc9bdaa51428474c04d2f4883b49 /MdeModulePkg/Core/Pei/PeiMain | |
parent | dda0251d0bddbdb78d84766d74cbfaf70d59bf84 (diff) | |
download | edk2-platforms-a3a15d2108bb276f8a668a059c86ccfc101e5986.tar.xz |
1) If PeiLoadImage fails, the section extraction PPI or Decompress PPI may not be ready, we flag that more Peims need to be dispatched.
2) Set the stack to be cacheable before the stack switch occurs so that IPF recovery path will be run from cacheble memory for code, data and stack.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4288 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/Pei/PeiMain')
-rw-r--r-- | MdeModulePkg/Core/Pei/PeiMain/PeiMain.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c index 5c6efb95c0..7f7a8cf670 100644 --- a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c +++ b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c @@ -135,12 +135,6 @@ Returns: }
}
- //
- // For IPF in CAR mode the real memory access is uncached,in InstallPeiMemory()
- // the 63-bit of address is set to 1.
- //
- SWITCH_TO_CACHE_MODE (OldCoreData);
-
if (OldCoreData != NULL) {
CopyMem (&PrivateData, OldCoreData, sizeof (PEI_CORE_INSTANCE));
@@ -312,3 +306,4 @@ Returns: return EFI_NOT_FOUND;
}
+
|