Rev 2787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2787 | Rev 3424 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef KERN_TYPEDEFS_H_ |
35 | #ifndef KERN_TYPEDEFS_H_ |
36 | #define KERN_TYPEDEFS_H_ |
36 | #define KERN_TYPEDEFS_H_ |
37 | 37 | ||
- | 38 | #include <arch/types.h> |
|
- | 39 | ||
- | 40 | #define NULL 0 |
|
- | 41 | #define false 0 |
|
- | 42 | #define true 1 |
|
- | 43 | ||
38 | typedef void (* function)(); |
44 | typedef void (* function)(); |
39 | 45 | ||
- | 46 | typedef uint8_t bool; |
|
- | 47 | typedef uint64_t thread_id_t; |
|
- | 48 | typedef uint64_t task_id_t; |
|
- | 49 | typedef uint32_t context_id_t; |
|
- | 50 | ||
- | 51 | typedef int32_t inr_t; |
|
- | 52 | typedef int32_t devno_t; |
|
- | 53 | ||
40 | #endif |
54 | #endif |
41 | 55 | ||
42 | /** @} |
56 | /** @} |
43 | */ |
57 | */ |