Rev 3070 | Rev 3929 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3070 | Rev 3094 | ||
---|---|---|---|
Line 62... | Line 62... | ||
62 | typedef uint32_t ipl_t; |
62 | typedef uint32_t ipl_t; |
63 | 63 | ||
64 | typedef uint32_t unative_t; |
64 | typedef uint32_t unative_t; |
65 | typedef int32_t native_t; |
65 | typedef int32_t native_t; |
66 | 66 | ||
- | 67 | #define PRIp "x" /**< Format for uintptr_t. */ |
|
- | 68 | #define PRIs "u" /**< Format for size_t. */ |
|
- | 69 | #define PRIc "u" /**< Format for count_t. */ |
|
- | 70 | #define PRIi "u" /**< Format for index_t. */ |
|
- | 71 | ||
- | 72 | #define PRId8 "d" /**< Format for int8_t. */ |
|
- | 73 | #define PRId16 "d" /**< Format for int16_t. */ |
|
- | 74 | #define PRId32 "d" /**< Format for int32_t. */ |
|
- | 75 | #define PRId64 "lld" /**< Format for int64_t. */ |
|
- | 76 | #define PRIdn "d" /**< Format for native_t. */ |
|
- | 77 | ||
- | 78 | #define PRIu8 "u" /**< Format for uint8_t. */ |
|
- | 79 | #define PRIu16 "u" /**< Format for uint16_t. */ |
|
- | 80 | #define PRIu32 "u" /**< Format for uint32_t. */ |
|
- | 81 | #define PRIu64 "llu" /**< Format for uint64_t. */ |
|
- | 82 | #define PRIun "u" /**< Format for unative_t. */ |
|
- | 83 | ||
- | 84 | #define PRIx8 "x" /**< Format for hexadecimal (u)int8_t. */ |
|
- | 85 | #define PRIx16 "x" /**< Format for hexadecimal (u)int16_t. */ |
|
- | 86 | #define PRIx32 "x" /**< Format for hexadecimal (u)uint32_t. */ |
|
- | 87 | #define PRIx64 "llx" /**< Format for hexadecimal (u)int64_t. */ |
|
- | 88 | #define PRIxn "x" /**< Format for hexadecimal (u)native_t. */ |
|
67 | 89 | ||
68 | /** Page table entry. |
90 | /** Page table entry. |
69 | * |
91 | * |
70 | * We have different structs for level 0 and level 1 page table entries. |
92 | * We have different structs for level 0 and level 1 page table entries. |
71 | * See page.h for definition of pte_level*_t. |
93 | * See page.h for definition of pte_level*_t. |