Add support for "keyboard" input over the serial port.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 1 Jun 2006 20:11:00 +0000 (20:11 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 1 Jun 2006 20:11:00 +0000 (20:11 +0000)
commit307707bd6c2e334e61ee65d1e4f838f55e855509
treeb0d47ed9313824abc0e9826e62ee3496917666bc
parent6df00aaa6cd9ca79cf8784031be08569c130af69
Add support for "keyboard" input over the serial port.
Revise documentation accordingly.
Revise reference solution accordingly.
Change real Return key to produce \r, to match what is received on
serial port.
Update shell example program to expect \r at end of file.
Modify testing makefiles to supply /dev/null as input.
Add squish-pty help program to deal with Bochs,
and modify "pintos" to use it.
23 files changed:
doc/intro.texi
doc/reference.texi
doc/threads.texi
doc/userprog.texi
solutions/p2.patch
solutions/p3.patch
solutions/p4.patch
src/Makefile.build
src/devices/input.c [new file with mode: 0644]
src/devices/input.h [new file with mode: 0644]
src/devices/kbd.c
src/devices/kbd.h
src/devices/serial.c
src/devices/serial.h
src/examples/shell.c
src/tests/Make.tests
src/tests/filesys/extended/Make.tests
src/threads/init.c
src/utils/.cvsignore
src/utils/Makefile
src/utils/README
src/utils/pintos
src/utils/squish-pty.c [new file with mode: 0644]