Kernel: Make sure PageTable::fast_page gets passed page aligned addr
This commit is contained in:
parent
c8c05f62b4
commit
13d33995cb
|
@ -206,6 +206,7 @@ namespace Kernel
|
|||
{
|
||||
ASSERT(s_kernel);
|
||||
ASSERT(paddr);
|
||||
ASSERT(paddr % PAGE_SIZE == 0);
|
||||
|
||||
ASSERT(s_fast_page_lock.current_processor_has_lock());
|
||||
|
||||
|
|
|
@ -503,6 +503,7 @@ namespace Kernel
|
|||
{
|
||||
ASSERT(s_kernel);
|
||||
ASSERT(paddr);
|
||||
ASSERT(paddr % PAGE_SIZE == 0);
|
||||
|
||||
ASSERT(s_fast_page_lock.current_processor_has_lock());
|
||||
|
||||
|
|
Loading…
Reference in New Issue