]> git.proxmox.com Git - mirror_edk2.git/blob - EmulatorPkg/Sec/Sec.h
OvmfPkg/Csm/LegacyBiosDxe: Update to make it build for OVMF
[mirror_edk2.git] / EmulatorPkg / Sec / Sec.h
1 /*++ @file
2 Stub SEC that is called from the OS appliation that is the root of the emulator.
3
4 The OS application will call the SEC with the PEI Entry Point API.
5
6 Copyright (c) 2011, Apple Inc. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9 **/
10
11 #ifndef __SEC_H___
12 #define __SEC_H___
13
14
15 #include <PiPei.h>
16 #include <Library/EmuMagicPageLib.h>
17 #include <Library/DebugLib.h>
18 #include <Library/PeiServicesLib.h>
19 #include <Library/PeCoffGetEntryPointLib.h>
20 #include <Library/BaseMemoryLib.h>
21
22 #include <Ppi/TemporaryRamSupport.h>
23
24
25 //
26 // I think this shold be defined in a MdePkg include file?
27 //
28 VOID
29 EFIAPI
30 ProcessLibraryConstructorList (
31 VOID
32 );
33
34 EFI_STATUS
35 EFIAPI
36 SecTemporaryRamSupport (
37 IN CONST EFI_PEI_SERVICES **PeiServices,
38 IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase,
39 IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase,
40 IN UINTN CopySize
41 );
42
43
44 #endif
45