Rev 3743 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3743 | Rev 3862 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | */ |
35 | */ |
36 | 36 | ||
37 | #ifndef KERN_sparc64_ARCH_H_ |
37 | #ifndef KERN_sparc64_ARCH_H_ |
38 | #define KERN_sparc64_ARCH_H_ |
38 | #define KERN_sparc64_ARCH_H_ |
39 | 39 | ||
- | 40 | #if defined (SUN4U) |
|
- | 41 | #include <arch/sun4u/arch.h> |
|
- | 42 | #elif defined (SUN4V) |
|
- | 43 | #include <arch/sun4v/arch.h> |
|
- | 44 | #endif |
|
- | 45 | ||
40 | #define ASI_AIUP 0x10 /** Access to primary context with user privileges. */ |
46 | #define ASI_AIUP 0x10 /** Access to primary context with user privileges. */ |
41 | #define ASI_AIUS 0x11 /** Access to secondary context with user privileges. */ |
47 | #define ASI_AIUS 0x11 /** Access to secondary context with user privileges. */ |
42 | 48 | ||
43 | #define NWINDOWS 8 /** Number of register window sets. */ |
49 | #define NWINDOWS 8 /** Number of register window sets. */ |
44 | 50 |