summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-08 03:50:37 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-08 03:50:37 +0000
commita3a15d2108bb276f8a668a059c86ccfc101e5986 (patch)
tree3baf3078bdbecc9bdaa51428474c04d2f4883b49 /MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
parentdda0251d0bddbdb78d84766d74cbfaf70d59bf84 (diff)
downloadedk2-a3a15d2108bb276f8a668a059c86ccfc101e5986.zip
edk2-a3a15d2108bb276f8a668a059c86ccfc101e5986.tar.gz
edk2-a3a15d2108bb276f8a668a059c86ccfc101e5986.tar.bz2
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/PeiMain.c')
-rw-r--r--MdeModulePkg/Core/Pei/PeiMain/PeiMain.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c b/MdeModulePkg/Core/Pei/PeiMain/PeiMain.c
index 5c6efb9..7f7a8cf 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;
}
+