Cambiata la putchar per kdebug per DSP56k: la nuova funzione e' quella piu' a basso...
authorrasky <rasky@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 4 Aug 2004 15:57:50 +0000 (15:57 +0000)
committerrasky <rasky@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 4 Aug 2004 15:57:50 +0000 (15:57 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@110 38d2e660-2303-0410-9eaa-f027e97ec537

drv/kdebug.c

index ff692b341fce67f1c23b6b1fc9c2c041050b145c..54e5845b92b5687801f15b4039c00c5a399543ac 100755 (executable)
@@ -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
  *
           implements the console I/O correctly. */
        #include <stdio.h>
        #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