Refactor MMU for multi-paging support and add 5-Level paging #16
@ -89,7 +89,6 @@ typedef struct _FIRMWARE_INFORMATION_BLOCK
|
|||||||
typedef struct _LOADER_INFORMATION_BLOCK
|
typedef struct _LOADER_INFORMATION_BLOCK
|
||||||
{
|
{
|
||||||
PVOID DbgPrint;
|
PVOID DbgPrint;
|
||||||
ULONG PageMapLevel;
|
|
||||||
} LOADER_INFORMATION_BLOCK, *PLOADER_INFORMATION_BLOCK;
|
} LOADER_INFORMATION_BLOCK, *PLOADER_INFORMATION_BLOCK;
|
||||||
|
|
||||||
/* Boot Loader memory mapping information */
|
/* Boot Loader memory mapping information */
|
||||||
|
@ -571,9 +571,6 @@ XtpInitializeLoaderBlock(IN PXTBL_PAGE_MAPPING PageMap,
|
|||||||
/* Set LoaderInformation block properties */
|
/* Set LoaderInformation block properties */
|
||||||
LoaderBlock->LoaderInformation.DbgPrint = XtLdrProtocol->Debug.Print;
|
LoaderBlock->LoaderInformation.DbgPrint = XtLdrProtocol->Debug.Print;
|
||||||
|
|
||||||
/* Store page map level */
|
|
||||||
LoaderBlock->LoaderInformation.PageMapLevel = PageMap->PageMapLevel;
|
|
||||||
|
|
||||||
/* Attempt to find virtual address of the EFI Runtime Services */
|
/* Attempt to find virtual address of the EFI Runtime Services */
|
||||||
// Status = XtLdrProtocol->GetVirtualAddress(MemoryMappings, &EfiSystemTable->RuntimeServices->Hdr, &RuntimeServices);
|
// Status = XtLdrProtocol->GetVirtualAddress(MemoryMappings, &EfiSystemTable->RuntimeServices->Hdr, &RuntimeServices);
|
||||||
// if(Status == STATUS_EFI_SUCCESS)
|
// if(Status == STATUS_EFI_SUCCESS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user