This patchset fixes printf() so that it is safe to call it from vcore context, but without using macros. It basically overrides glibc's printf() to do the same thing as akaros_printf().
------------ You can also find this patch set at: [email protected]:brho/akaros.git From: c8a6943551e4 master To: c8a601fe9310 printf And view them at: https://github.com/brho/akaros/compare/c8a6943551e4...c8a601fe9310 ------------ Barret Rhoden (6): Fix comments in vcore.h Move print_user_context out of a header Do not call printf from sigaction (XCC) Remove ros_debug() Clean up ros_vdebug* interfaces Make glibc's printf with a vcore-ctx aware (XCC) .../glibc-2.19-akaros/sysdeps/akaros/Versions | 3 ++ .../sysdeps/akaros/parlib-compat.c | 30 ++++++++--- .../glibc-2.19-akaros/sysdeps/akaros/printf.c | 46 +++++++++++++++++ .../glibc-2.19-akaros/sysdeps/akaros/sigaction.c | 20 +++++--- user/parlib/debug.c | 18 ++----- user/parlib/debugfmt.c | 14 +----- user/parlib/include/stdio.h | 19 +++---- user/parlib/include/vcore.h | 7 +-- user/parlib/include/x86/vcore32.h | 49 ------------------ user/parlib/include/x86/vcore64.h | 58 ---------------------- user/parlib/panic.c | 4 +- user/parlib/vcore.c | 2 +- user/parlib/x86/vcore.c | 57 +++++++++++++++++++++ 13 files changed, 161 insertions(+), 166 deletions(-) create mode 100644 tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/printf.c -- 2.6.0.rc2.230.g3dd15c0 -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
