2 Stub SEC that is called from the OS appliation that is the root of the emulator.
4 The OS application will call the SEC with the PEI Entry Point API.
6 Copyright (c) 2011, Apple Inc. All rights reserved.<BR>
7 This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
22 #include <Library/EmuMagicPageLib.h>
23 #include <Library/DebugLib.h>
24 #include <Library/PeiServicesLib.h>
25 #include <Library/PeCoffGetEntryPointLib.h>
26 #include <Library/BaseMemoryLib.h>
28 #include <Ppi/TemporaryRamSupport.h>
32 // I think this shold be defined in a MdePkg include file?
36 ProcessLibraryConstructorList (
42 SecTemporaryRamSupport (
43 IN CONST EFI_PEI_SERVICES
**PeiServices
,
44 IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase
,
45 IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase
,