mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
Kernel: Improve comment about the system virtual memory map a bit
This commit is contained in:
parent
f01fd54d1b
commit
9ad151c665
1 changed files with 4 additions and 2 deletions
|
@ -78,8 +78,10 @@ void MemoryManager::initialize_paging()
|
|||
// 8 MB -> MAX Userspace physical pages (available for allocation!)
|
||||
|
||||
// Basic virtual memory map:
|
||||
// 0 MB -> 8MB Identity mapped.
|
||||
// 0xc0000000-0xffffffff Kernel-only virtual address space.
|
||||
// 0 -> 4 KB Null page (so nullptr dereferences crash!)
|
||||
// 4 KB -> 8 MB Identity mapped.
|
||||
// 8 MB -> 3 GB Available to userspace.
|
||||
// 3GB -> 4 GB Kernel-only virtual address space (>0xc0000000)
|
||||
|
||||
#ifdef MM_DEBUG
|
||||
dbgprintf("MM: Quickmap will use %p\n", m_quickmap_addr.get());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue