Hello world over serial
This commit is contained in:
10
kernel/sys/debug.h
Normal file
10
kernel/sys/debug.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef _KERNEL_SYS_DEBUG_H
|
||||
#define _KERNEL_SYS_DEBUG_H
|
||||
|
||||
void debugprintf(const char *fmt, ...);
|
||||
|
||||
#define DEBUG(fmt, ...) do { \
|
||||
debugprintf("%s: " fmt, __PRETTY_FUNCTION__, ##__VA_ARGS__); \
|
||||
} while(0)
|
||||
|
||||
#endif // _KERNEL_SYS_DEBUG_H
|
||||
Reference in New Issue
Block a user