Handle IRQs inside the kernel
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m42s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m42s
This commit is contained in:
@@ -5,9 +5,16 @@
|
||||
|
||||
void debugprintf (const char* fmt, ...);
|
||||
|
||||
void debugprintf_nolock (const char* fmt, ...);
|
||||
|
||||
#define DEBUG(fmt, ...) \
|
||||
do { \
|
||||
debugprintf ("(CPU %u) %s:%d: " fmt, thiscpu->id, __func__, __LINE__, ##__VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
#define DEBUG_NOLOCK(fmt, ...) \
|
||||
do { \
|
||||
debugprintf_nolock ("(CPU %u) %s:%d: " fmt, thiscpu->id, __func__, __LINE__, ##__VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
#endif // _KERNEL_SYS_DEBUG_H
|
||||
|
||||
Reference in New Issue
Block a user