summaryrefslogtreecommitdiffstats
path: root/UefiCpuPkg/CpuDxe/X64/PagingAttribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'UefiCpuPkg/CpuDxe/X64/PagingAttribute.c')
-rw-r--r--UefiCpuPkg/CpuDxe/X64/PagingAttribute.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/UefiCpuPkg/CpuDxe/X64/PagingAttribute.c b/UefiCpuPkg/CpuDxe/X64/PagingAttribute.c
index 7967935612..31ec0caff8 100644
--- a/UefiCpuPkg/CpuDxe/X64/PagingAttribute.c
+++ b/UefiCpuPkg/CpuDxe/X64/PagingAttribute.c
@@ -8,7 +8,6 @@
#include "CpuPageTable.h"
-
/**
Get paging details.
@@ -19,16 +18,16 @@
**/
VOID
GetPagingDetails (
- IN PAGE_TABLE_LIB_PAGING_CONTEXT_DATA *PagingContextData,
- OUT UINTN **PageTableBase OPTIONAL,
- OUT UINT32 **Attributes OPTIONAL
+ IN PAGE_TABLE_LIB_PAGING_CONTEXT_DATA *PagingContextData,
+ OUT UINTN **PageTableBase OPTIONAL,
+ OUT UINT32 **Attributes OPTIONAL
)
{
if (PageTableBase != NULL) {
*PageTableBase = &PagingContextData->X64.PageTableBase;
}
+
if (Attributes != NULL) {
*Attributes = &PagingContextData->X64.Attributes;
}
}
-