Back to Raspberry Pi Os

Exercises

docs/lesson03/exercises.md

latest817 B
Original Source

3.5: Exercises

  1. Use local timer instead of the system timer to generate processor interrupts. See this issue for details.
  2. Handle MiniUART interrupts. Replace the final loop in the kernel_main function with a loop that does nothing. Setup MiniUART device to generate an interrupt as soon as the user types a new character. Implement an interrupt handler that will be responsible for printing each newly arrived character on the screen.
  3. Adapt lesson 03 to run on qemu. Check this issue for reference.
Previous Page

3.4 Interrupt handling: Timers

Next Page

4.1 Process scheduler: RPi OS Scheduler