Rev 3386 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3386 | Rev 4153 | ||
|---|---|---|---|
| Line 55... | Line 55... | ||
| 55 | typedef uint32_t ipl_t; |
55 | typedef uint32_t ipl_t; |
| 56 | 56 | ||
| 57 | typedef uint32_t unative_t; |
57 | typedef uint32_t unative_t; |
| 58 | typedef int32_t native_t; |
58 | typedef int32_t native_t; |
| 59 | 59 | ||
| - | 60 | typedef struct { |
|
| - | 61 | } fncptr_t; |
|
| - | 62 | ||
| 60 | /**< Formats for uintptr_t, size_t, count_t and index_t */ |
63 | /**< Formats for uintptr_t, size_t, count_t and index_t */ |
| 61 | #define PRIp "x" |
64 | #define PRIp "x" |
| 62 | #define PRIs "u" |
65 | #define PRIs "u" |
| 63 | #define PRIc "u" |
66 | #define PRIc "u" |
| 64 | #define PRIi "u" |
67 | #define PRIi "u" |
| Line 82... | Line 85... | ||
| 82 | #define PRIx64 "llx" |
85 | #define PRIx64 "llx" |
| 83 | #define PRIxn "x" |
86 | #define PRIxn "x" |
| 84 | 87 | ||
| 85 | /** Page Table Entry. */ |
88 | /** Page Table Entry. */ |
| 86 | typedef struct { |
89 | typedef struct { |
| 87 | unsigned p : 1; /**< Present bit. */ |
90 | unsigned present : 1; /**< Present bit. */ |
| - | 91 | unsigned page_write_through : 1; /**< Write thought caching. */ |
|
| - | 92 | unsigned page_cache_disable : 1; /**< No caching. */ |
|
| 88 | unsigned a : 1; /**< Accessed bit. */ |
93 | unsigned accessed : 1; /**< Accessed bit. */ |
| 89 | unsigned g : 1; /**< Global bit. */ |
94 | unsigned global : 1; /**< Global bit. */ |
| 90 | unsigned valid : 1; /**< Valid content even if not present. */ |
95 | unsigned valid : 1; /**< Valid content even if not present. */ |
| 91 | unsigned pfn : 20; /**< Physical frame number. */ |
96 | unsigned pfn : 20; /**< Physical frame number. */ |
| 92 | } pte_t; |
97 | } pte_t; |
| 93 | 98 | ||
| 94 | #endif |
99 | #endif |
| 95 | 100 | ||
| 96 | /** @} |
101 | /** @} |