twizzler-operating-system / twizzler

The Twizzler Operating System
BSD 3-Clause "New" or "Revised" License
66 stars 13 forks source link

Stubs, Serial Console, UEFI, and Build Tools for aarch64 #102

Closed PandaZ3D closed 1 year ago

PandaZ3D commented 1 year ago

This PR begins a series of patches that implement a full port of Twizzler to ARM (targeting aarch64/ARMv8). A number of changes had to be implemented to support the aarch64 target and make the kernel more architecture neutral.

The result is a simple kernel that can boot with UEFI via Limine and print to the serial console using UART.

dbittman commented 1 year ago

For the VirtAddr and PhysAddr types, I think it would be better to require the arch-dep code to implement them, and then re-export them from inside crate::memory.

PandaZ3D commented 1 year ago

require the arch-dep code to implement them, and then re-export them from inside crate::memory.

I'm on board with that. Where should we document this interface?