Keyboard/char input buffering and irq handling
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 24 Mar 2012 01:08:44 +0000 (18:08 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 24 Mar 2012 01:08:44 +0000 (18:08 -0700)
commit842885adeef121afeb32d5290c55bee5636f270a
tree917671adbb87aac681bbd83a7144a9add666df08
parentda1a20779837e7a388b6e36c01cf6c348e016edc
Keyboard/char input buffering and irq handling

Each arch needs to have interrupt handlers for their console input that
call the appropriate routine kmsgs, which will handle putting the char
in the console buffer.  Take a look at x86's.  If this is somehow
fundamentally incompatible with RISCV, let me know.

This techincally adds to a kernel header, but no one should need to
rebuild anything.
kern/arch/i686/init.c
kern/include/console.h [new file with mode: 0644]
kern/include/ros/ring_buffer.h
kern/src/Makefrag
kern/src/console.c [new file with mode: 0644]
kern/src/init.c
kern/src/manager.c