feat(paging): enabling write protection

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
juju committed 2021-12-08 16:29:53 +01:00
1 parent 5ff8596233
commit f844883192
2 files changed
+9 -2

No files matched your search

-2
View File
@@ -47,8 +47,6 @@ pub fn kernel_remap<A>(allocator: &mut A, boot_info: &BootInformation)
// section is not loaded to memory
continue;
}
println!("mapping section at addr: {:#x}, size: {:#x}",
section.addr, section.size);
assert!(section.start_address() % PAGE_SIZE == 0,
"sections need to be page aligned");
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.