Closed
Description
Some frames in the kernel page table are not mapped as writable. I'm not sure that is intended.
For example when the gdt is identity mapped the frames that are used in the page table are mapped as read only.
The reason is that Mapper::map_to
only maps the page table frames as writable if the mapped frame is also writable.
https://docs.rs/x86_64/latest/x86_64/structures/paging/mapper/trait.Mapper.html#method.map_to
I don't think there is any reason why the kernel page table should ever be mapped as read only.
The question is if this is a bug in bootloader or if this should be addressed in the x86_64 crate.
Metadata
Metadata
Assignees
Labels
No labels