-
- Downloads
Adding read line support to the console
Now our Isa serial device can read characters. Using it by calling readln(char *msg, size_t len); Note that the calls block until the len input chars or a newline.
Showing
- core/debug.cc 5 additions, 0 deletionscore/debug.cc
- drivers/console.cc 10 additions, 0 deletionsdrivers/console.cc
- drivers/console.hh 2 additions, 0 deletionsdrivers/console.hh
- drivers/debug-console.cc 5 additions, 0 deletionsdrivers/debug-console.cc
- drivers/debug-console.hh 1 addition, 0 deletionsdrivers/debug-console.hh
- drivers/isa-serial.cc 15 additions, 0 deletionsdrivers/isa-serial.cc
- drivers/isa-serial.hh 8 additions, 0 deletionsdrivers/isa-serial.hh
- include/debug.hh 3 additions, 0 deletionsinclude/debug.hh
Please register or sign in to comment