TianoCore EDK2 master
Loading...
Searching...
No Matches
PagingAttribute.c
Go to the documentation of this file.
1
9#include "CpuPageTable.h"
10
19VOID
21 IN PAGE_TABLE_LIB_PAGING_CONTEXT_DATA *PagingContextData,
22 OUT UINTN **PageTableBase OPTIONAL,
23 OUT UINT32 **Attributes OPTIONAL
24 )
25{
26 if (PageTableBase != NULL) {
27 *PageTableBase = &PagingContextData->X64.PageTableBase;
28 }
29
30 if (Attributes != NULL) {
31 *Attributes = &PagingContextData->X64.Attributes;
32 }
33}
UINT64 UINTN
VOID GetPagingDetails(IN PAGE_TABLE_LIB_PAGING_CONTEXT_DATA *PagingContextData, OUT UINTN **PageTableBase OPTIONAL, OUT UINT32 **Attributes OPTIONAL)
#define NULL
Definition: Base.h:319
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284