]>
Commit | Line | Data |
---|---|---|
79e4f2a5 RN |
1 | /*++ @file\r |
2 | Stub SEC that is called from the OS appliation that is the root of the emulator.\r | |
3 | \r | |
4 | The OS application will call the SEC with the PEI Entry Point API.\r | |
5 | \r | |
6 | Copyright (c) 2011, Apple Inc. All rights reserved.<BR>\r | |
7 | This program and the accompanying materials\r | |
8 | are licensed and made available under the terms and conditions of the BSD License\r | |
9 | which accompanies this distribution. The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef __SEC_H___\r | |
18 | #define __SEC_H___\r | |
19 | \r | |
20 | \r | |
21 | #include <PiPei.h>\r | |
22 | #include <Library/EmuMagicPageLib.h>\r | |
23 | #include <Library/DebugLib.h>\r | |
24 | #include <Library/PeiServicesLib.h>\r | |
25 | #include <Library/PeCoffGetEntryPointLib.h>\r | |
26 | #include <Library/BaseMemoryLib.h>\r | |
27 | \r | |
28 | #include <Ppi/TemporaryRamSupport.h>\r | |
29 | \r | |
30 | \r | |
31 | //\r | |
32 | // I think this shold be defined in a MdePkg include file?\r | |
33 | //\r | |
34 | VOID\r | |
35 | EFIAPI\r | |
36 | ProcessLibraryConstructorList (\r | |
37 | VOID\r | |
38 | );\r | |
39 | \r | |
40 | EFI_STATUS\r | |
41 | EFIAPI\r | |
42 | SecTemporaryRamSupport (\r | |
43 | IN CONST EFI_PEI_SERVICES **PeiServices,\r | |
44 | IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase,\r | |
45 | IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase,\r | |
46 | IN UINTN CopySize\r | |
47 | );\r | |
48 | \r | |
49 | \r | |
50 | #endif\r | |
51 | \r |