From 6c25c8b1c458b9ea35e2e6a3fcae4b4740ee9383 Mon Sep 17 00:00:00 2001 From: rasky Date: Wed, 4 Aug 2004 15:57:50 +0000 Subject: [PATCH] Cambiata la putchar per kdebug per DSP56k: la nuova funzione e' quella piu' a basso livello (assembly) git-svn-id: https://src.develer.com/svnoss/bertos/trunk@110 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/kdebug.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drv/kdebug.c b/drv/kdebug.c index ff692b34..54e5845b 100755 --- a/drv/kdebug.c +++ b/drv/kdebug.c @@ -16,6 +16,9 @@ /* * $Log$ + * Revision 1.10 2004/08/04 15:57:50 rasky + * Cambiata la putchar per kdebug per DSP56k: la nuova funzione e' quella piu' a basso livello (assembly) + * * Revision 1.9 2004/08/02 20:20:29 aleph * Merge from project_ks * @@ -158,7 +161,7 @@ implements the console I/O correctly. */ #include #define KDBG_WAIT_READY() - #define KDBG_WRITE_CHAR(c) do { char ch=c; fwrite(&ch,1,1,stdout); } while (0) + #define KDBG_WRITE_CHAR(c) __put_char(c, stdout) #define KDBG_MASK_IRQ(old) #define KDBG_RESTORE_IRQ(old) #else -- 2.25.1