-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug.h
25 lines (21 loc) · 1.03 KB
/
debug.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*****************************************************************************/
/* File: debug.h */
/* */
/* Description: Header file for debugging support. */
/* */
/* Author: Shoily O Rahman <[email protected]> */
/* */
/* Date: Nov 6, 2020 */
/* */
/*****************************************************************************/
#ifndef _DEBUG_H
#define _DEBUG_H
#define KERNEL_DEBUG 1
#define KERNEL_INFO 2
#define KERNEL_WARN 3
#define KERNEL_ERR 4
#define KERNEL_CRIT 5
void debug_init();
void printf(int level, char *fmt, ...);
//void debug_msg(char *msg, int len);
#endif