mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-05 08:06:09 +00:00
For some odd reason we used to return PhysicalPtr for a page_table_base result, but when setting it we accepted only a 32 bit value, so we truncated valid 64 bit addresses into 32 bit addresses by doing that. With this commit being applied, now PageDirectories can be located beyond the 4 GiB barrier. This was found by sin-ack, therefore he should be credited with this fix appropriately with Co-authored-by sign. Co-authored-by: sin-ack <sin-ack@users.noreply.github.com>