Skip to content

Commit 5f581cf

Browse files
Update README.md
1 parent 7aa99d5 commit 5f581cf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

03_hacky_hello_world/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
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!()`

0 commit comments

Comments
 (0)