TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmProfileArch.c
Go to the documentation of this file.
1
9#include "PiSmmCpuCommon.h"
10#include "SmmProfileInternal.h"
11
18VOID
20 OUT UINTN *Cr3
21 )
22{
23 ASSERT (Cr3 != NULL);
24
25 *Cr3 = GenSmmPageTable (PagingPae, mPhysicalAddressBits);
26
27 return;
28}
29
35VOID
37 VOID
38 )
39{
40}
41
54VOID
56 UINT64 *PageTable,
57 UINT64 PFAddress,
58 UINTN CpuIndex,
59 UINTN ErrorCode,
60 BOOLEAN *IsValidPFAddress
61 )
62{
63}
64
72VOID
74 IN OUT EFI_SYSTEM_CONTEXT SystemContext
75 )
76{
77 SystemContext.SystemContextIa32->Eflags &= (UINTN) ~BIT8;
78}
79
84VOID
86 VOID
87 )
88{
89 CpuDeadLoop ();
90}
UINT64 UINTN
VOID EFIAPI CpuDeadLoop(VOID)
Definition: CpuDeadLoop.c:25
VOID ClearTrapFlag(IN OUT EFI_SYSTEM_CONTEXT SystemContext)
VOID SmmProfileMapPFAddress(VOID)
VOID InitPagesForPFHandler(VOID)
VOID RestorePageTableAbove4G(UINT64 *PageTable, UINT64 PFAddress, UINTN CpuIndex, UINTN ErrorCode, BOOLEAN *IsValidPFAddress)
VOID InitSmmS3Cr3(OUT UINTN *Cr3)
#define NULL
Definition: Base.h:319
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
UINTN GenSmmPageTable(IN PAGING_MODE PagingMode, IN UINT8 PhysicalAddressBits)