aarch64: Add WIP qemu raspi3 machine support
- Only initialize CPU 0 and spin on other CPUs (based on https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials/) - Adjust physical start address of RAM to correct value for raspi3 (again based on the raspberry tutorial) - Add feature to map write_char() to use a special address for usage with qemu. The aarch64 solution doesn't seem to work on qemu. Didn't look to closely though. The feature is enabled by default for make arch=aarch64 for now. A toggle is future work
... | ... | @@ -6,6 +6,9 @@ license = "MIT/Apache-2.0" |
readme = "README.md" | ||
edition = "2018" | ||
[features] | ||
aarch64-qemu-stdout = [] # Output to special qemu address 0x3F20_1000 instead of trying to use uart | ||
[dependencies] | ||
bitflags = "1.2.*" | ||
... | ... |
src/arch/aarch64/entry.s
0 → 100644
Please register or sign in to comment