Rev 4042 | Rev 4076 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4042 | Rev 4070 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | #include <arch.h> |
35 | #include <arch.h> |
36 | #include <debug.h> |
36 | #include <debug.h> |
37 | #include <config.h> |
37 | #include <config.h> |
38 | #include <arch/trap/trap.h> |
38 | #include <arch/trap/trap.h> |
39 | #include <arch/console.h> |
39 | #include <arch/console.h> |
40 | #include <proc/thread.h> |
- | |
41 | #include <console/console.h> |
40 | #include <console/console.h> |
42 | #include <arch/boot/boot.h> |
41 | #include <arch/boot/boot.h> |
43 | #include <arch/arch.h> |
42 | #include <arch/arch.h> |
44 | #include <arch/asm.h> |
43 | #include <arch/asm.h> |
45 | #include <arch/mm/page.h> |
44 | #include <arch/mm/page.h> |
Line 102... | Line 101... | ||
102 | 101 | ||
103 | void arch_post_smp_init(void) |
102 | void arch_post_smp_init(void) |
104 | { |
103 | { |
105 | if (config.cpu_active == 1) { |
104 | if (config.cpu_active == 1) { |
106 | standalone_sparc64_console_init(); |
105 | standalone_sparc64_console_init(); |
107 | - | ||
108 | /* Create thread that polls keyboard. |
- | |
109 | * XXX: this is only used by sgcn now |
- | |
110 | */ |
- | |
111 | thread_t *t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll", |
- | |
112 | true); |
- | |
113 | if (!t) |
- | |
114 | panic("Cannot create kkbdpoll."); |
- | |
115 | thread_ready(t); |
- | |
116 | } |
106 | } |
117 | } |
107 | } |
118 | 108 | ||
119 | /** Calibrate delay loop. |
109 | /** Calibrate delay loop. |
120 | * |
110 | * |