2018-08-29 05:39:06 +02:00
|
|
|
/*++ @file
|
2020-02-07 02:07:17 +01:00
|
|
|
Stub SEC that is called from the OS application that is the root of the emulator.
|
2018-08-29 05:39:06 +02:00
|
|
|
|
|
|
|
The OS application will call the SEC with the PEI Entry Point API.
|
|
|
|
|
|
|
|
Copyright (c) 2011, Apple Inc. All rights reserved.<BR>
|
2019-04-04 01:03:44 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2018-08-29 05:39:06 +02:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef __SEC_H___
|
|
|
|
#define __SEC_H___
|
|
|
|
|
|
|
|
#include <PiPei.h>
|
|
|
|
#include <Library/EmuMagicPageLib.h>
|
|
|
|
#include <Library/DebugLib.h>
|
|
|
|
#include <Library/PeiServicesLib.h>
|
|
|
|
#include <Library/PeCoffGetEntryPointLib.h>
|
|
|
|
#include <Library/BaseMemoryLib.h>
|
|
|
|
|
|
|
|
#include <Ppi/TemporaryRamSupport.h>
|
|
|
|
|
|
|
|
//
|
2020-02-07 02:07:17 +01:00
|
|
|
// I think this should be defined in a MdePkg include file?
|
2018-08-29 05:39:06 +02:00
|
|
|
//
|
|
|
|
VOID
|
|
|
|
EFIAPI
|
|
|
|
ProcessLibraryConstructorList (
|
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
SecTemporaryRamSupport (
|
|
|
|
IN CONST EFI_PEI_SERVICES **PeiServices,
|
|
|
|
IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase,
|
|
|
|
IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase,
|
|
|
|
IN UINTN CopySize
|
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|