X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=EdkModulePkg%2FCore%2FDxeIplPeim%2FDxeIpl.h;h=eadcffa3d95ae13f5d8d3c0bd3a6cf3fe91b1571;hb=a7e39a828e5440498da3de489ad6cf48fcd21858;hp=bc50666df63881701e82f84a14536a098ba3719b;hpb=878ddf1fc3540a715f63594ed22b6929e881afb4;p=mirror_edk2.git diff --git a/EdkModulePkg/Core/DxeIplPeim/DxeIpl.h b/EdkModulePkg/Core/DxeIplPeim/DxeIpl.h index bc50666df6..eadcffa3d9 100644 --- a/EdkModulePkg/Core/DxeIplPeim/DxeIpl.h +++ b/EdkModulePkg/Core/DxeIplPeim/DxeIpl.h @@ -1,13 +1,13 @@ /*++ -Copyright (c) 2006, Intel Corporation -All rights reserved. This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2006, Intel Corporation +All rights reserved. This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. Module Name: @@ -23,17 +23,9 @@ Abstract: #define STACK_SIZE 0x20000 #define BSP_STORE_SIZE 0x4000 -extern BOOLEAN gInMemory; +#define GET_OCCUPIED_SIZE(ActualSize, Alignment) ((ActualSize + (Alignment - 1)) & ~(Alignment - 1)) -VOID -SwitchIplStacks ( - VOID *EntryPoint, - UINTN Parameter1, - UINTN Parameter2, - VOID *NewStack, - VOID *NewBsp - ) -; +extern BOOLEAN gInMemory; EFI_STATUS PeiFindFile ( @@ -55,12 +47,6 @@ PeiLoadFile ( ; -EFI_STATUS -CreateArchSpecificHobs ( - OUT EFI_PHYSICAL_ADDRESS *BspStore - ) -; - EFI_STATUS GetImageReadFunction ( IN PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext @@ -100,11 +86,18 @@ DxeLoadCore ( IN EFI_PEI_HOB_POINTERS HobList ); +VOID +HandOffToDxeCore ( + IN EFI_PHYSICAL_ADDRESS DxeCoreEntryPoint, + IN EFI_PEI_HOB_POINTERS HobList + ); + EFI_STATUS PeiProcessFile ( - IN UINT16 SectionType, - IN EFI_FFS_FILE_HEADER *FfsFileHeader, - OUT VOID **Pe32Data + IN UINT16 SectionType, + IN EFI_FFS_FILE_HEADER *FfsFileHeader, + OUT VOID **Pe32Data, + IN EFI_PEI_HOB_POINTERS *OrigHob ); EFI_STATUS @@ -114,33 +107,5 @@ PeimInitializeDxeIpl ( IN EFI_PEI_SERVICES **PeiServices ); -EFI_STATUS -PeiLoadx64File ( - IN EFI_PEI_PE_COFF_LOADER_PROTOCOL *PeiEfiPeiPeCoffLoader, - IN VOID *Pe32Data, - IN EFI_MEMORY_TYPE MemoryType, - OUT EFI_PHYSICAL_ADDRESS *ImageAddress, - OUT UINT64 *ImageSize, - OUT EFI_PHYSICAL_ADDRESS *EntryPoint - ) -; - -EFI_PHYSICAL_ADDRESS -CreateIdentityMappingPageTables ( - IN UINT32 NumberOfProcessorPhysicalAddressBits - ) -; - -VOID -ActivateLongMode ( - IN EFI_PHYSICAL_ADDRESS PageTables, - IN EFI_PHYSICAL_ADDRESS HobStart, - IN EFI_PHYSICAL_ADDRESS Stack, - IN EFI_PHYSICAL_ADDRESS CodeEntryPoint1, - IN EFI_PHYSICAL_ADDRESS CodeEntryPoint2 - ); - -VOID -LoadGo64Gdt(); #endif