Use #[repr(packed)] with correct alignment for paging.
Previously, both Entry
and Table
in the paging
implicitly used #[repr(Rust)
, where the memory layout may be changed arbitrarily by the Rust compiler. This MR ensures that these types be packed, and with the required alignment (4k for tables and 8 for 64-bit entries).