Rev 4032 | Rev 4070 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4032 | Rev 4042 | ||
---|---|---|---|
Line 87... | Line 87... | ||
87 | /* |
87 | /* |
88 | * We have 2^11 different interrupt vectors. |
88 | * We have 2^11 different interrupt vectors. |
89 | * But we only create 128 buckets. |
89 | * But we only create 128 buckets. |
90 | */ |
90 | */ |
91 | irq_init(1 << 11, 128); |
91 | irq_init(1 << 11, 128); |
92 | - | ||
93 | standalone_sparc64_console_init(); |
- | |
94 | } |
92 | } |
95 | } |
93 | } |
96 | 94 | ||
97 | void arch_post_cpu_init(void) |
95 | void arch_post_cpu_init(void) |
98 | { |
96 | { |
Line 102... | Line 100... | ||
102 | { |
100 | { |
103 | } |
101 | } |
104 | 102 | ||
105 | void arch_post_smp_init(void) |
103 | void arch_post_smp_init(void) |
106 | { |
104 | { |
107 | static thread_t *t = NULL; |
105 | if (config.cpu_active == 1) { |
- | 106 | standalone_sparc64_console_init(); |
|
108 | 107 | ||
109 | if (!t) { |
- | |
110 | /* |
- | |
111 | * Create thread that polls keyboard. |
108 | /* Create thread that polls keyboard. |
- | 109 | * XXX: this is only used by sgcn now |
|
112 | */ |
110 | */ |
113 | t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll", true); |
111 | thread_t *t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll", |
- | 112 | true); |
|
114 | if (!t) |
113 | if (!t) |
115 | panic("Cannot create kkbdpoll."); |
114 | panic("Cannot create kkbdpoll."); |
116 | thread_ready(t); |
115 | thread_ready(t); |
117 | } |
116 | } |
118 | } |
117 | } |