Rev 1822 | Rev 1860 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1822 | Rev 1823 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef __sparc64_TTE_H__ |
35 | #ifndef __sparc64_TTE_H__ |
36 | #define __sparc64_TTE_H__ |
36 | #define __sparc64_TTE_H__ |
37 | 37 | ||
- | 38 | #define TTE_G (1<<0) |
|
- | 39 | #define TTE_W (1<<1) |
|
- | 40 | #define TTE_P (1<<2) |
|
- | 41 | #define TTE_E (1<<3) |
|
- | 42 | #define TTE_CV (1<<4) |
|
- | 43 | #define TTE_CP (1<<5) |
|
- | 44 | #define TTE_L (1<<6) |
|
- | 45 | ||
- | 46 | #define TTE_V_SHIFT 63 |
|
- | 47 | #define TTE_SIZE_SHIFT 61 |
|
- | 48 | ||
- | 49 | #ifndef __ASM__ |
|
- | 50 | ||
38 | #include <arch/types.h> |
51 | #include <arch/types.h> |
39 | 52 | ||
40 | /** Translation Table Entry - Tag. */ |
53 | /** Translation Table Entry - Tag. */ |
41 | union tte_tag { |
54 | union tte_tag { |
42 | uint64_t value; |
55 | uint64_t value; |
Line 73... | Line 86... | ||
73 | } __attribute__ ((packed)); |
86 | } __attribute__ ((packed)); |
74 | }; |
87 | }; |
75 | 88 | ||
76 | typedef union tte_data tte_data_t; |
89 | typedef union tte_data tte_data_t; |
77 | 90 | ||
- | 91 | #endif /* !def __ASM__ */ |
|
- | 92 | ||
78 | #endif |
93 | #endif |
79 | 94 | ||
80 | /** @} |
95 | /** @} |
81 | */ |
96 | */ |