Abstract base mapping address retrieval
This commit is contained in:
@@ -156,6 +156,20 @@ Xtos::EnablePaging(IN PXTBL_PAGE_MAPPING PageMap)
|
||||
return STATUS_EFI_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the base address of the memory mapping.
|
||||
*
|
||||
* @return This routine returns the base address of the memory mapping.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTCDECL
|
||||
ULONG_PTR
|
||||
Xtos::GetBaseMappingAddress(VOID)
|
||||
{
|
||||
return KSEG0_BASE;
|
||||
}
|
||||
|
||||
/**
|
||||
* Maps the page table for hardware layer addess space.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user