Rev 3862 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3862 | Rev 4129 | ||
|---|---|---|---|
| Line 50... | Line 50... | ||
| 50 | #ifndef __ASM__ |
50 | #ifndef __ASM__ |
| 51 | 51 | ||
| 52 | #include <arch/types.h> |
52 | #include <arch/types.h> |
| 53 | 53 | ||
| 54 | /** Translation Table Entry - Data. */ |
54 | /** Translation Table Entry - Data. */ |
| 55 | /** SUN4V-OK */ |
- | |
| 56 | union tte_data { |
55 | union tte_data { |
| 57 | uint64_t value; |
56 | uint64_t value; |
| 58 | struct { |
57 | struct { |
| 59 | unsigned v : 1; /**< Valid. */ |
58 | unsigned v : 1; /**< Valid. */ |
| 60 | unsigned nfo : 1; /**< No-Fault-Only. */ |
59 | unsigned nfo : 1; /**< No-Fault-Only. */ |
| Line 72... | Line 71... | ||
| 72 | } __attribute__ ((packed)); |
71 | } __attribute__ ((packed)); |
| 73 | }; |
72 | }; |
| 74 | 73 | ||
| 75 | typedef union tte_data tte_data_t; |
74 | typedef union tte_data tte_data_t; |
| 76 | 75 | ||
| 77 | // TODO: probably remove once tsb.c exists for both sun4u and sun4v |
- | |
| 78 | #define VA_TAG_PAGE_SHIFT 22 |
76 | #define VA_TAG_PAGE_SHIFT 22 |
| 79 | 77 | ||
| 80 | #endif /* !def __ASM__ */ |
78 | #endif /* !def __ASM__ */ |
| 81 | 79 | ||
| 82 | #endif |
80 | #endif |