mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 01:27:44 +00:00
Kernel/aarch64: Access MMIO using mapping in high virtual memory
This ensures that we can unmap the identity mapping of the kernel in physical memory.
This commit is contained in:
parent
91d0451999
commit
5db32ecbe1
3 changed files with 12 additions and 7 deletions
|
@ -14,7 +14,7 @@ MMIO::MMIO()
|
|||
{
|
||||
MainIdRegister id;
|
||||
if (id.part_num() <= MainIdRegister::RaspberryPi3)
|
||||
m_base_address = 0x3F00'0000;
|
||||
m_base_address = PhysicalAddress(0x3F00'0000);
|
||||
}
|
||||
|
||||
MMIO& MMIO::the()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue