Poor-mans async printf support for userspace
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 1 May 2009 23:30:37 +0000 (16:30 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 1 May 2009 23:30:37 +0000 (16:30 -0700)
commitc93265f31f8ad3c16bf62670dac7864a007098ab
tree6421d1f3e521d932355d9b614defe6d6d8deaaad
parentf15fc6d32aca27a1150b96b78778399460dcad28
Poor-mans async printf support for userspace

It's very rudimentary.  Not threadsafe, and it only allows 10
cprintf_asyncs.  Ever.  No tracking of when the async calls are done.
If putch uses more than one buffer, the overall count return is a lie
too.  The userspace side of syscall_async can only send two calls.
kern/init.c
lib/printf.c
lib/syscall.c
user/hello.c