Expand description
Implements a text console over the UART that allows a terminal to inspect and control userspace processes.
For a more in-depth documentation check /doc/Process_Console.md
Structs§
- Command
- Console
Writer - Kernel
Addresses - Data structure to hold addresses about how the kernel is stored in memory on the chip.
- Process
Console
Constants§
- COMMAND_
BUF_ LEN - Commands can be up to 32 bytes long: since commands themselves are 4-5 characters, limiting arguments to 25 bytes or so seems fine for now.
- DEFAULT_
COMMAND_ HISTORY_ LEN - Default size for the history command.
- QUEUE_
BUF_ LEN - Buffer responses are initially held in until copied to the TX buffer and transmitted.
- READ_
BUF_ LEN - Since reads are byte-by-byte, to properly echo what’s typed, we can use a very small read buffer.
- WRITE_
BUF_ LEN - Buffer to hold outgoing data that is passed to the UART hardware.