Rev 3664 | Rev 3770 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3664 | Rev 3743 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | #ifndef __ASM__ |
54 | #ifndef __ASM__ |
55 | 55 | ||
56 | #include <arch/types.h> |
56 | #include <arch/types.h> |
57 | #include <typedefs.h> |
57 | #include <typedefs.h> |
58 | #include <arch/register.h> |
58 | #include <arch/register.h> |
59 | #include <arch/regdef.h> |
59 | #include <arch/sun4u/regdef.h> |
60 | #include <arch/asm.h> |
60 | #include <arch/asm.h> |
- | 61 | #include <arch/sun4u/arch.h> |
|
61 | 62 | ||
62 | #ifdef CONFIG_SMP |
63 | #ifdef CONFIG_SMP |
63 | #include <arch/mm/cache.h> |
64 | #include <arch/mm/cache.h> |
64 | #endif |
65 | #endif |
65 | 66 | ||
Line 86... | Line 87... | ||
86 | #elif defined (US3) |
87 | #elif defined (US3) |
87 | if (((ver_reg_t) ver_read()).impl == IMPL_ULTRASPARCIII_I) |
88 | if (((ver_reg_t) ver_read()).impl == IMPL_ULTRASPARCIII_I) |
88 | return icbus_config & 0x1f; |
89 | return icbus_config & 0x1f; |
89 | else |
90 | else |
90 | return icbus_config & 0x3ff; |
91 | return icbus_config & 0x3ff; |
- | 92 | #else |
|
- | 93 | panic("Not implemented for this architecture."); |
|
- | 94 | return 0; |
|
91 | #endif |
95 | #endif |
92 | } |
96 | } |
93 | 97 | ||
94 | #endif |
98 | #endif |
95 | 99 |