Remove commented out code.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4796 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2008-03-06 08:53:18 +00:00
parent a7715e7327
commit ca784f9737
1 changed files with 0 additions and 34 deletions

View File

@ -255,7 +255,6 @@ Returns:
UINT32 Index2; UINT32 Index2;
EFI_PEI_SERVICES **PeiServices; EFI_PEI_SERVICES **PeiServices;
EFI_PEI_FV_HANDLE VolumeHandle; EFI_PEI_FV_HANDLE VolumeHandle;
//EFI_PHYSICAL_ADDRESS PeiCoreFileHandle;
EFI_PEI_FILE_HANDLE PeimFileHandle; EFI_PEI_FILE_HANDLE PeimFileHandle;
UINTN FvCount; UINTN FvCount;
UINTN PeimCount; UINTN PeimCount;
@ -584,33 +583,6 @@ Returns:
// Shadow PEI Core. When permanent memory is avaiable, shadow // Shadow PEI Core. When permanent memory is avaiable, shadow
// PEI Core and PEIMs to get high performance. // 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 ( PrivateInMem->ShadowedPeiCore = ShadowPeiCore (
PeiServices, PeiServices,
PrivateInMem PrivateInMem
@ -626,12 +598,6 @@ Returns:
// //
PeiCore (SecCoreData, NULL, PrivateInMem); PeiCore (SecCoreData, NULL, PrivateInMem);
//((PEI_CORE_ENTRY_POINT) (UINTN) PrivateInMem->ShadowedPeiCore) (
// SecCoreData,
// NULL,
// PrivateInMem
// );
// //
// Code should not come here // Code should not come here
// //