X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FDxe%2FDxeMain.h;h=2830e10a03f3d1aa047c21a90f7ff4eda0dad01f;hb=dc2e539a344115537c1d3883ba96eaade345827b;hp=26fb9190e3e0bd7392ee7d63800acc5e4d3bc4ba;hpb=18fd8d651d7383c429cbcdf3a4262aa32268cd6c;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Dxe/DxeMain.h b/MdeModulePkg/Core/Dxe/DxeMain.h index 26fb9190e3..2830e10a03 100644 --- a/MdeModulePkg/Core/Dxe/DxeMain.h +++ b/MdeModulePkg/Core/Dxe/DxeMain.h @@ -1,5 +1,8 @@ -/*++ +/**@file + The internal header file includes the common header files, defines + internal structure and functions used by DxeCore module. + Copyright (c) 2006 - 2007, 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 @@ -9,15 +12,7 @@ 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: - - DxeMain.h - -Abstract: - -Revision History - ---*/ +**/ #ifndef _DXE_MAIN_H_ #define _DXE_MAIN_H_ @@ -25,11 +20,9 @@ Revision History #include -#include #include #include -#include #include #include #include @@ -69,7 +62,8 @@ Revision History #include #include #include -#include +#include +#include #include #include @@ -82,6 +76,8 @@ Revision History #include #include #include +#include +#include #include "DebugImageInfo.h" #include "Library.h" @@ -132,6 +128,13 @@ typedef struct { BOOLEAN Present; } ARCHITECTURAL_PROTOCOL_ENTRY; +typedef struct { + EFI_STATUS_CODE_DATA DataHeader; + EFI_HANDLE Handle; +} EFI_DXE_DEVICE_HANDLE_EXTENDED_DATA; + +#define EFI_STATUS_CODE_DXE_CORE_GUID \ + { 0x335984bd, 0xe805, 0x409a, { 0xb8, 0xf8, 0xd2, 0x7e, 0xce, 0x5f, 0xf7, 0xa6 } } // // DXE Dispatcher Data structures @@ -354,7 +357,7 @@ Returns: EFI_STATUS CoreInitializeGcdServices ( - IN VOID **HobStart, + IN OUT VOID **HobStart, IN EFI_PHYSICAL_ADDRESS MemoryBaseAddress, IN UINT64 MemoryLength ) @@ -367,7 +370,8 @@ Routine Description: memory map, so memory allocations and resource allocations can be made. The first part of this function can not depend on any memory services until at least one memory descriptor is provided to the memory services. Then the memory services - can be used to intialize the GCD map. + can be used to intialize the GCD map. The HobStart will be relocated to a pool + buffer. Arguments: @@ -594,7 +598,7 @@ CoreExitBootServices ( Routine Description: - EFI 1.0 API to terminate Boot Services + UEFI 2.0 API to terminate Boot Services Arguments: @@ -2837,4 +2841,30 @@ DxeMainCustomDecompress ( IN UINT32 ScratchSize ); +EFI_STATUS +EFIAPI +OpenSectionStream ( + IN UINTN SectionStreamLength, + IN VOID *SectionStream, + OUT UINTN *SectionStreamHandle + ); + +EFI_STATUS +EFIAPI +GetSection ( + IN UINTN SectionStreamHandle, + IN EFI_SECTION_TYPE *SectionType, + IN EFI_GUID *SectionDefinitionGuid, + IN UINTN SectionInstance, + IN VOID **Buffer, + IN OUT UINTN *BufferSize, + OUT UINT32 *AuthenticationStatus + ); + +EFI_STATUS +EFIAPI +CloseSectionStream ( + IN UINTN StreamHandleToClose + ); + #endif