Rev 575 | Rev 1196 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 575 | Rev 787 | ||
|---|---|---|---|
| Line 28... | Line 28... | ||
| 28 | 28 | ||
| 29 | #ifndef __PRINT_H__ |
29 | #ifndef __PRINT_H__ |
| 30 | #define __PRINT_H__ |
30 | #define __PRINT_H__ |
| 31 | 31 | ||
| 32 | #include <arch/types.h> |
32 | #include <arch/types.h> |
| - | 33 | #include <synch/spinlock.h> |
|
| 33 | 34 | ||
| 34 | #define INT8 1 |
35 | #define INT8 1 |
| 35 | #define INT16 2 |
36 | #define INT16 2 |
| 36 | #define INT32 4 |
37 | #define INT32 4 |
| 37 | #define INT64 8 |
38 | #define INT64 8 |
| 38 | 39 | ||
| 39 | extern void printf(const char *fmt, ...); |
40 | extern void printf(const char *fmt, ...); |
| 40 | 41 | ||
| - | 42 | /* We need this address in spinlock to avoid deadlock in deadlock detection */ |
|
| - | 43 | extern spinlock_t printflock; |
|
| - | 44 | ||
| 41 | #endif |
45 | #endif |