Using it
Let’s write a small program using our driver to write to the serial console, and echo incoming bytes.
Speaker Notes
- As in the inline assembly example, this
main
function is called from our entry point code inentry.S
. See the speaker notes there for details. - Run the example in QEMU with
make qemu
undersrc/bare-metal/aps/examples
.