HelenOS sources

root/kernel/generic/include/console/

[..]
chardev.h cmd.h console.h kconsole.h prompt.h
[..]
HelenOS homepage, sources at GitHub