From ca784f97373c4cd332b71cb26218e6c3f63aab9c Mon Sep 17 00:00:00 2001 From: klu2 Date: Thu, 6 Mar 2008 08:53:18 +0000 Subject: [PATCH] Remove commented out code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4796 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 34 ------------------- 1 file changed, 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 //