From 25750612451261f740756456c7e775296a21c2ef Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Thu, 18 Jan 2024 18:18:52 +0100 Subject: output: Allow to simply switch to Qemu's builtin_console_out() for debugging Signed-off-by: Helge Deller --- src/output.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/output.c b/src/output.c index 351e91e..b497f1c 100644 --- a/src/output.c +++ b/src/output.c @@ -122,8 +122,13 @@ putc(struct putcinfo *action, char c) return; } +#if 1 void (*func)(struct putcinfo *info, char c) = GET_GLOBAL(action->func); func(action, c); +#else + /* use Qemu's built-in function to directly output chars */ + builtin_console_out(c); +#endif } // Ouptut a string. -- cgit v1.1