Home | History | Annotate | Download | only in Sec
      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 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
     11 
     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.
     14 
     15 **/
     16 
     17 #ifndef __SEC_H___
     18 #define __SEC_H___
     19 
     20 
     21 #include <PiPei.h>
     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>
     27 
     28 #include <Ppi/TemporaryRamSupport.h>
     29 
     30 
     31 //
     32 // I think this shold be defined in a MdePkg include file?
     33 //
     34 VOID
     35 EFIAPI
     36 ProcessLibraryConstructorList (
     37   VOID
     38   );
     39 
     40 EFI_STATUS
     41 EFIAPI
     42 SecTemporaryRamSupport (
     43   IN CONST EFI_PEI_SERVICES   **PeiServices,
     44   IN EFI_PHYSICAL_ADDRESS     TemporaryMemoryBase,
     45   IN EFI_PHYSICAL_ADDRESS     PermanentMemoryBase,
     46   IN UINTN                    CopySize
     47   );
     48 
     49 
     50 #endif
     51 
     52