Rev 1787 | Rev 1882 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1787 | Rev 1789 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | */ |
33 | */ |
| 34 | 34 | ||
| 35 | #ifndef KERN_sparc64_REGISTER_H_ |
35 | #ifndef KERN_sparc64_REGISTER_H_ |
| 36 | #define KERN_sparc64_REGISTER_H_ |
36 | #define KERN_sparc64_REGISTER_H_ |
| 37 | 37 | ||
| 38 | #ifdef __ASM__ |
- | |
| 39 | #define PSTATE_IE_BIT 2 |
- | |
| 40 | #define PSTATE_AM_BIT 8 |
38 | #include <arch/regdef.h> |
| 41 | #else |
- | |
| 42 | - | ||
| 43 | #include <arch/types.h> |
39 | #include <arch/types.h> |
| 44 | 40 | ||
| 45 | /** Version Register. */ |
41 | /** Version Register. */ |
| 46 | union ver_reg { |
42 | union ver_reg { |
| 47 | uint64_t value; |
43 | uint64_t value; |
| Line 109... | Line 105... | ||
| 109 | }; |
105 | }; |
| 110 | typedef union softint_reg softint_reg_t; |
106 | typedef union softint_reg softint_reg_t; |
| 111 | 107 | ||
| 112 | #endif |
108 | #endif |
| 113 | 109 | ||
| 114 | #endif |
- | |
| 115 | - | ||
| 116 | /** @} |
110 | /** @} |
| 117 | */ |
111 | */ |