5 ms·
No it's "left as an exercise to the reader" ;) But seriously, it's not that hard. Change build options to generate 64-bit ELF, replace all 32-bit-wide parts (e
by nuta 2y ago
No it's "left as an exercise to the reader" ;)
But seriously, it's not that hard. Change build options to generate 64-bit ELF, replace all 32-bit-wide parts (e.g. uint32_t, lw/sw instructions), and implement a slightly more complicated page table (e.g. Sv48).