]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Sec/SecMain.h
Update the copyright notice format
[mirror_edk2.git] / OvmfPkg / Sec / SecMain.h
CommitLineData
49ba9447 1/** @file
2 Header file for SEC code
3
56d7640a 4 Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>
49ba9447 5
56d7640a 6 This program and the accompanying materials
49ba9447 7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14**/
15
16#ifndef _PLATFORM_SECMAIN_H_
17#define _PLATFORM_SECMAIN_H_
18
19VOID
20EFIAPI
21PeiSwitchStacks (
22 IN SWITCH_STACK_ENTRY_POINT EntryPoint,
23 IN VOID *Context1, OPTIONAL
24 IN VOID *Context2, OPTIONAL
25 IN VOID *Context3, OPTIONAL
26 IN VOID *OldTopOfStack,
27 IN VOID *NewStack
28 );
29
30VOID
31EFIAPI
32SecSwitchStack (
33 IN UINTN TemporaryMemoryBase,
34 IN UINTN PermanentMemoryBase,
35 IN UINTN CopySize
36 );
37
38EFI_STATUS
39EFIAPI
40TemporaryRamMigration (
41 IN CONST EFI_PEI_SERVICES **PeiServices,
42 IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase,
43 IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase,
44 IN UINTN CopySize
45 );
46
0913fadc 47VOID
48EFIAPI
49FindPeiCoreEntryPoint (
c1c2669c 50 IN EFI_FIRMWARE_VOLUME_HEADER **BootFirmwareVolumePtr,
0913fadc 51 OUT VOID **PeiCoreEntryPoint
52 );
53
c1c2669c 54#define INITIAL_TOP_OF_STACK BASE_512KB
49ba9447 55
56#endif // _PLATFORM_SECMAIN_H_
57