Rev 3022 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3022 | Rev 4055 | ||
---|---|---|---|
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 | ||
- | 54 | typedef volatile uint8_t ioport8_t; |
|
- | 55 | typedef volatile uint16_t ioport16_t; |
|
- | 56 | typedef volatile uint32_t ioport32_t; |
|
- | 57 | ||
40 | #endif |
58 | #endif |
41 | 59 | ||
42 | /** @} |
60 | /** @} |
43 | */ |
61 | */ |