We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8c134e commit 980eaebCopy full SHA for 980eaeb
test/kernel/integration/paging/service.cpp
@@ -414,13 +414,15 @@ int main()
414
auto pml3 = __pml4->page_dir(__pml4->entry(magic_loc));
415
auto pml2 = pml3->page_dir(pml3->entry(magic_loc));
416
auto pml1 = pml2->page_dir(pml2->entry(magic_loc));
417
+ (void) pml1;
418
419
// Write-protect
420
if (magic->reboots == 0) {
421
422
pml3 = __pml4->page_dir(__pml4->entry(mapped.lin));
423
pml2 = pml3->page_dir(pml3->entry(mapped.lin));
424
pml1 = pml2->page_dir(pml2->entry(mapped.lin));
425
426
427
protected_page[magic->i] = 'a';
428
mem::protect_range((uint64_t)protected_page, mem::Access::read);
0 commit comments