File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
33## tl;dr
44
5- - Introducing global ` print !()` macros to enable "printf debugging" at the earliest.
5+ - Introducing global ` println !()` macros to enable "printf debugging" at the earliest.
66- To keep tutorial length reasonable, printing functions for now "abuse" a QEMU property that lets
77 us use the Raspberry's ` UART ` without setting it up properly.
88- Using the real hardware ` UART ` is enabled step-by-step in following tutorials.
99
1010## Notable additions
1111
12- - ` src/console.rs ` introduces interface ` Traits ` for console commands.
12+ - ` src/console.rs ` introduces interface ` Traits ` for console commands and a global reference to the
13+ kernel's console through ` console::console() ` .
1314- ` src/bsp/raspberrypi/console.rs ` implements the interface for QEMU's emulated UART.
14- - The panic handler makes use of the new ` print !()` to display user error messages.
15+ - The panic handler makes use of the new ` println !()` to display user error messages.
1516- There is a new Makefile target, ` make test ` , intended for automated testing. It boots the compiled
1617 kernel in ` QEMU ` , and checks for an expected output string produced by the kernel.
1718 - In this tutorial, it checks for the string ` Stopping here ` , which is emitted by the ` panic!() `
You can’t perform that action at this time.
0 commit comments