Rev 640 | Rev 658 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 640 | Rev 650 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | unsigned maxwin : 5; |
44 | unsigned maxwin : 5; |
45 | } __attribute__ ((packed)); |
45 | } __attribute__ ((packed)); |
46 | }; |
46 | }; |
47 | typedef union ver_reg ver_reg_t; |
47 | typedef union ver_reg ver_reg_t; |
48 | 48 | ||
- | 49 | /** Processor State Register. */ |
|
- | 50 | union pstate_reg { |
|
- | 51 | __u64 value; |
|
- | 52 | struct { |
|
- | 53 | __u64 : 52; |
|
- | 54 | unsigned ig : 1; /**< Interrupt Globals. */ |
|
- | 55 | unsigned mg : 1; /**< MMU Globals. */ |
|
- | 56 | unsigned cle : 1; /**< Current Little Endian. */ |
|
- | 57 | unsigned tle : 1; /**< Trap Little Endian. */ |
|
- | 58 | unsigned mm : 2; /**< Memory Model. */ |
|
- | 59 | unsigned red : 1; /**< RED state. */ |
|
- | 60 | unsigned pef : 1; /**< Enable floating-point. */ |
|
- | 61 | unsigned am : 1; /**< 32-bit Address Mask. */ |
|
- | 62 | unsigned priv : 1; /**< Privileged Mode. */ |
|
- | 63 | unsigned ie : 1; /**< Interrupt Enable. */ |
|
- | 64 | unsigned ag : 1; /**< Alternate Globals*/ |
|
- | 65 | } __attribute__ ((packed)); |
|
- | 66 | }; |
|
- | 67 | typedef union pstate_reg pstate_reg_t; |
|
- | 68 | ||
49 | #endif |
69 | #endif |