summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-06 08:53:18 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-06 08:53:18 +0000
commitca784f97373c4cd332b71cb26218e6c3f63aab9c (patch)
treee09254cf385ff609c7518fbfc9698d83389f803e /MdeModulePkg
parenta7715e7327d1d37db16858f2a967ceea36ad9fcf (diff)
downloadedk2-platforms-ca784f97373c4cd332b71cb26218e6c3f63aab9c.tar.xz
Remove commented out code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4796 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
index bb6c1c820f..099e38ef43 100644
--- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
+++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c
@@ -255,7 +255,6 @@ Returns:
UINT32 Index2;
EFI_PEI_SERVICES **PeiServices;
EFI_PEI_FV_HANDLE VolumeHandle;
- //EFI_PHYSICAL_ADDRESS PeiCoreFileHandle;
EFI_PEI_FILE_HANDLE PeimFileHandle;
UINTN FvCount;
UINTN PeimCount;
@@ -584,33 +583,6 @@ Returns:
// Shadow PEI Core. When permanent memory is avaiable, shadow
// PEI Core and PEIMs to get high performance.
//
- //PeiCoreFileHandle = 0;
- //
- // Find the PEI Core in the BFV
- //
- //Status = PeiFindFileEx (
- // (EFI_PEI_FV_HANDLE)PrivateInMem->Fv[0].FvHeader,
- // NULL,
- // EFI_FV_FILETYPE_PEI_CORE,
- // (EFI_PEI_FILE_HANDLE*)&PeiCoreFileHandle,
- // NULL
- // );
- //ASSERT_EFI_ERROR (Status);
-
- //
- // Shadow PEI Core into memory so it will run faster
- //
- //Status = PeiLoadImage (
- // PeiServices,
- // *((EFI_PEI_FILE_HANDLE*)&PeiCoreFileHandle),
- // &EntryPoint,
- // &AuthenticationState
- // );
- //ASSERT_EFI_ERROR (Status);
-
- //PrivateInMem->ShadowedPeiCore = (VOID*) ((UINTN) EntryPoint +
- // (UINTN) PeiCore -
- // (UINTN) _ModuleEntryPoint);
PrivateInMem->ShadowedPeiCore = ShadowPeiCore (
PeiServices,
PrivateInMem
@@ -626,12 +598,6 @@ Returns:
//
PeiCore (SecCoreData, NULL, PrivateInMem);
- //((PEI_CORE_ENTRY_POINT) (UINTN) PrivateInMem->ShadowedPeiCore) (
- // SecCoreData,
- // NULL,
- // PrivateInMem
- // );
-
//
// Code should not come here
//