mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[kernel] Move the page table cache into page_table
Further chipping away at page_manager: the cache of pages to be used as page tables gets moved to a static in page_table.
This commit is contained in:
@@ -19,9 +19,10 @@ vm_space::area::operator==(const vm_space::area &o) const
|
||||
}
|
||||
|
||||
|
||||
vm_space::vm_space(page_table *p, bool kernel) :
|
||||
m_kernel(kernel),
|
||||
m_pml4(p)
|
||||
vm_space::vm_space(page_table *p) : m_kernel(true), m_pml4(p) {}
|
||||
|
||||
vm_space::vm_space() :
|
||||
m_kernel(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user