Rev 650 | Rev 664 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 650 | Rev 658 | ||
|---|---|---|---|
| Line 34... | Line 34... | ||
| 34 | /** Version Register. */ |
34 | /** Version Register. */ |
| 35 | union ver_reg { |
35 | union ver_reg { |
| 36 | __u64 value; |
36 | __u64 value; |
| 37 | struct { |
37 | struct { |
| 38 | __u16 manuf; /**< Manufacturer code. */ |
38 | __u16 manuf; /**< Manufacturer code. */ |
| 39 | __u16 impl; |
39 | __u16 impl; /**< Implementation code. */ |
| 40 | __u8 mask; /**< Mask set revision. */ |
40 | __u8 mask; /**< Mask set revision. */ |
| 41 | unsigned : 8; |
41 | unsigned : 8; |
| 42 | __u8 maxtl; |
42 | __u8 maxtl; |
| 43 | unsigned : 3; |
43 | unsigned : 3; |
| 44 | unsigned maxwin : 5; |
44 | unsigned maxwin : 5; |
| Line 64... | Line 64... | ||
| 64 | unsigned ag : 1; /**< Alternate Globals*/ |
64 | unsigned ag : 1; /**< Alternate Globals*/ |
| 65 | } __attribute__ ((packed)); |
65 | } __attribute__ ((packed)); |
| 66 | }; |
66 | }; |
| 67 | typedef union pstate_reg pstate_reg_t; |
67 | typedef union pstate_reg pstate_reg_t; |
| 68 | 68 | ||
| - | 69 | /** TICK Register. */ |
|
| - | 70 | union tick_reg { |
|
| - | 71 | __u64 value; |
|
| - | 72 | struct { |
|
| - | 73 | unsigned npt : 1; /**< Non-privileged Trap enable. */ |
|
| - | 74 | __u64 counter : 63; /**< Elapsed CPU clck cycle counter. */ |
|
| - | 75 | } __attribute__ ((packed)); |
|
| - | 76 | }; |
|
| - | 77 | typedef union tick_reg tick_reg_t; |
|
| - | 78 | ||
| - | 79 | /** TICK_compare Register. */ |
|
| - | 80 | union tick_compare_reg { |
|
| - | 81 | __u64 value; |
|
| - | 82 | struct { |
|
| - | 83 | unsigned int_dis : 1; /**< TICK_INT interrupt enable. */ |
|
| - | 84 | __u64 tick_cmpr : 63; /**< Compare value for TICK interrupts. */ |
|
| - | 85 | } __attribute__ ((packed)); |
|
| - | 86 | }; |
|
| - | 87 | typedef union tick_compare_reg tick_compare_reg_t; |
|
| - | 88 | ||
| 69 | #endif |
89 | #endif |