Hi,
I think printf usually invoke system call. But in Fiasco only one system call is capability invocation. So what capability is invoked by printf? Or Fiasco implements printf in user level, so printf triggers a normal IPC?
Thank you. Best
Have a look at these codes: drivers/libc_backend.h drivers/glue_libc.cc drivers/console.cpp drivers/uart.cpp lib/vprintf.c
On Sat, Jun 21, 2014 at 5:11 AM, Yuxin Ren ryx@gwmail.gwu.edu wrote:
Hi,
I think printf usually invoke system call. But in Fiasco only one system call is capability invocation. So what capability is invoked by printf? Or Fiasco implements printf in user level, so printf triggers a normal IPC?
Thank you. Best
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
Hi,
On Fri Jun 20, 2014 at 17:11:21 -0400, Yuxin Ren wrote:
I think printf usually invoke system call. But in Fiasco only one system call is capability invocation. So what capability is invoked by printf? Or Fiasco implements printf in user level, so printf triggers a normal IPC?
Since capability invocation and IPC is the same it's actually both. Each task has a 'log' capability which is used to print out text. printf and friends also uses this interface pass on output.
Adam
l4-hackers@os.inf.tu-dresden.de