VMM - touch_page sets flags
This commit is contained in:
parent
86d8aea9ea
commit
59ffd9d5f5
@ -140,3 +140,9 @@ TEST(touch_page_adds_P1)
|
||||
|
||||
ASSERT_EQ_PTR(p2[3], (uintptr_t)p1 | PAGE_PRESENT);
|
||||
}
|
||||
TEST(touch_page_sets_flags)
|
||||
{
|
||||
touch_page(p4, 0, 0x123);
|
||||
|
||||
ASSERT_EQ_PTR(p2[0], (uintptr_t)p1 | 0x123 | PAGE_PRESENT);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user