https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials
- ARM64에 익숙하지않은 취미 OS 개발자들을 위한 튜토리얼 - 단계별로 Monolithic OS 커널을 밑바닥부터 작성해보기 - 시리얼 콘솔, 가상메모리, HW예외 처리등 일반적인 OS기능들을 Rust의 특징을 이용해서 작성해보기 - 16단계로 구성. 각 단계당 부팅 가능한 커널 바이너리 포함 - 이전 단계를 계속 확장해가는 형태 - Raspberry Pi 3과 4가 메인 타겟이지만 다른 CPU로도 충분히 포팅 가능
튜토리얼 1. Wait Forever 2. Runtime Init 3. Hacky Hello World 4. Safe Globals 5. Drivers: GPIO and UART 6. UART Chainloader 7. Timestamps 8. HW Debugging using JTAG 9. Privilege Level 10. Virtual Memory Part 1: Identity Map All The Things! 11. Exceptions Part 1: Groundwork 12. Integrated Testing 13. Exceptions Part 2: Peripheral IRQs 14. Virtual Memory Part 2: MMIO Remap 15. Virtual Memory Part 3: Precomputed Translation Tables 16. Virtual Memory Part 4: Higher-Half Kernel |