mirror of
https://review.haiku-os.org/haiku
synced 2025-02-03 12:16:35 +01:00
e5fc2bfcab
The setup procedure is fairly simple: create a 64-bit GDT and 64-bit page tables that include all kernel mappings from the 32-bit address space, but at the correct 64-bit address, then go through kernel_args and changes all virtual addresses to 64-bit addresses, and finally switch to long mode and jump to the kernel.