Rev 883 | Rev 895 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 883 | Rev 893 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | #include <proc/thread.h> |
34 | #include <proc/thread.h> |
35 | 35 | ||
36 | void arch_pre_mm_init(void) |
36 | void arch_pre_mm_init(void) |
37 | { |
37 | { |
38 | interrupts_disable(); |
38 | interrupts_disable(); |
- | 39 | ofw_sparc64_console_init(); |
|
39 | trap_init(); |
40 | trap_init(); |
40 | tick_init(); |
41 | tick_init(); |
41 | } |
42 | } |
42 | 43 | ||
43 | void arch_post_mm_init(void) |
44 | void arch_post_mm_init(void) |
44 | { |
45 | { |
45 | fb_sparc64_console_init(); |
46 | standalone_sparc64_console_init(); |
46 | } |
47 | } |
47 | 48 | ||
48 | void arch_pre_smp_init(void) |
49 | void arch_pre_smp_init(void) |
49 | { |
50 | { |
50 | } |
51 | } |
51 | 52 | ||
52 | void arch_post_smp_init(void) |
53 | void arch_post_smp_init(void) |
53 | { |
54 | { |
- | 55 | thread_t *t; |
|
- | 56 | ||
- | 57 | /* |
|
- | 58 | * Create thread that reads characters from OFW's input. |
|
- | 59 | */ |
|
- | 60 | t = thread_create(kofwinput, NULL, TASK, 0); |
|
- | 61 | if (!t) |
|
- | 62 | panic("cannot create kofwinput\n"); |
|
- | 63 | thread_ready(t); |
|
54 | } |
64 | } |
55 | 65 | ||
56 | void calibrate_delay_loop(void) |
66 | void calibrate_delay_loop(void) |
57 | { |
67 | { |
58 | } |
68 | } |