dde_rump: implement rumpuser_dprintf()

Though we do not actually need this function, it is helpful while
debugging.

Fixes #1141.
This commit is contained in:
Josef Söntgen 2014-04-22 16:02:00 +02:00 committed by Christian Helmuth
parent 43cb97cd83
commit 0f4d525eda
2 changed files with 10 additions and 1 deletions

View File

@ -35,7 +35,6 @@ DUMMY(-1, rumpuser_anonmmap)
DUMMY(-1, rumpuser_close)
DUMMY(-1, rumpuser_daemonize_begin)
DUMMY(-1, rumpuser_daemonize_done)
DUMMY(-1, rumpuser_dprintf)
DUMMY(-1, rumpuser_iovread)
DUMMY(-1, rumpuser_iovwrite)
DUMMY(-1, rumpuser_kill)

View File

@ -340,3 +340,13 @@ void rump_io_backend_sync()
backend()->submit();
}
void rumpuser_dprintf(const char *fmt, ...)
{
va_list list;
va_start(list, fmt);
Genode::vprintf(fmt, list);
va_end(list);
}