TianoCore EDK2
master
Loading...
Searching...
No Matches
EmuMagicPageLib.h
1
/*++ @file
2
The PCD, gEmulatorPkgTokenSpaceGuid.PcdPeiServicesTablePage, points to a magic page
3
of memory that is like SRAM on an embedded system. This file defines what goes
4
where in the magic page.
5
6
Copyright (c) 2011, Apple Inc. All rights reserved.<BR>
7
SPDX-License-Identifier: BSD-2-Clause-Patent
8
9
**/
10
11
#ifndef __EMU_MAGIC_PAGE_LIB_H__
12
#define __EMU_MAGIC_PAGE_LIB_H__
13
14
#include <
PiPei.h
>
15
#include <
Library/PcdLib.h
>
16
#include <
Protocol/EmuThunk.h
>
17
18
typedef
struct
{
19
// Used by PEI Core and PEIMs to store the PEI Services pointer.
20
// Privilege issues prevent using the PI mechanism in the emulator.
21
CONST
EFI_PEI_SERVICES
**PeiServicesTablePointer;
22
23
// Used by SecPeiServicesLib
24
EFI_PEI_PPI_DESCRIPTOR
*PpiList;
25
26
// Needed by PEI PEI PeCoffLoaderExtraActionLib
27
EMU_THUNK_PROTOCOL
*Thunk;
28
}
EMU_MAGIC_PAGE_LAYOUT
;
29
30
#define EMU_MAGIC_PAGE() ((EMU_MAGIC_PAGE_LAYOUT *)((UINTN)PcdGet64 (PcdPeiServicesTablePage)))
31
32
#endif
CONST
#define CONST
Definition:
Base.h:259
PcdLib.h
PiPei.h
EmuThunk.h
_EFI_PEI_SERVICES
Definition:
PiPeiCis.h:877
_EMU_THUNK_PROTOCOL
Definition:
EmuThunk.h:202
EFI_PEI_PPI_DESCRIPTOR
Definition:
PiPeiCis.h:90
EMU_MAGIC_PAGE_LAYOUT
Definition:
EmuMagicPageLib.h:18
EmulatorPkg
Include
Library
EmuMagicPageLib.h
Generated on Fri Nov 15 2024 18:01:07 for TianoCore EDK2 by
1.9.6