/*#*
*#* $Log$
+ *#* Revision 1.9 2005/01/25 08:36:40 bernie
+ *#* kputnum(): Export.
+ *#*
*#* Revision 1.8 2005/01/11 18:08:08 aleph
*#* Add empty kdump definition for debug off
*#*
/* These are implemented in drv/kdebug.c */
void kdbg_init(void);
void kputchar(char c);
+ int kputnum(int num);
void kdump(const void *buf, size_t len);
void __init_wall(long *wall, int size);
INLINE void kdbg_init(void) { /* nop */ }
INLINE void kputchar(UNUSED_ARG(char, c)) { /* nop */ }
+ INLINE int kputnum(UNUSED_ARG(int, num)) { return 0; }
INLINE void kputs(UNUSED_ARG(const char *, str)) { /* nop */ }
INLINE void kdump(UNUSED_ARG(const void *, buf), UNUSED_ARG(size_t, len)) { /* nop */ }
/*#*
*#* $Log$
+ *#* Revision 1.20 2005/01/25 08:36:40 bernie
+ *#* kputnum(): Export.
+ *#*
*#* Revision 1.19 2004/12/31 17:47:45 bernie
*#* Rename UNUSED() to UNUSED_ARG().
*#*
#include <debug.h>
#include <cpu.h>
-#include "hw.h"
-#include "config.h"
+#include <macros.h> /* for BV() */
+#include <config.h>
+#include <hw.h>
#include <mware/formatwr.h> /* for _formatted_write() */
/*!
* Cheap function to print small integers without using printf().
*/
-static int kputnum(int num)
+int kputnum(int num)
{
int output_len = 0;
int divisor = 10000;