kernel/arch/arm/paging: ARMVMTranslationMap32Bit::QueryInterrupt shall return page start address
Change-Id: I8949518c563b367b8b84f3728ae1e923e49044ba Reviewed-on: https://review.haiku-os.org/c/haiku/+/4666 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
52f94eb19e
commit
c8e72ef924
@ -680,7 +680,7 @@ ARMVMTranslationMap32Bit::QueryInterrupt(addr_t va, phys_addr_t *_physical,
|
|||||||
page_table_entry entry = pt[VADDR_TO_PTENT(va)];
|
page_table_entry entry = pt[VADDR_TO_PTENT(va)];
|
||||||
|
|
||||||
if ((entry & ARM_PTE_TYPE_MASK) != 0)
|
if ((entry & ARM_PTE_TYPE_MASK) != 0)
|
||||||
*_physical = (entry & ARM_PTE_ADDRESS_MASK) | VADDR_TO_PGOFF(va);
|
*_physical = (entry & ARM_PTE_ADDRESS_MASK);
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
// read in the page state flags
|
// read in the page state flags
|
||||||
|
Loading…
Reference in New Issue
Block a user