Skip to content

Wrap borrows of page table entries in unsafe

Jacob Lorentzon requested to merge 4lDO2/kernel:paging-packed-use-unsafe into master

This is safe because Entry is #[repr(8)] which is the minimum alignment for qwords. Since the size of a qword is equal to that alignment (8), they can also be borrowed from the array.

Merge request reports