Rev 664 | Rev 883 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 664 | Rev 669 | ||
|---|---|---|---|
| Line 25... | Line 25... | ||
| 25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | */ |
27 | */ |
| 28 | 28 | ||
| 29 | #include <arch.h> |
29 | #include <arch.h> |
| 30 | #include <print.h> |
30 | #include <debug.h> |
| 31 | #include <arch/trap/trap.h> |
31 | #include <arch/trap/trap.h> |
| 32 | #include <arch/console.h> |
32 | #include <arch/console.h> |
| 33 | #include <arch/drivers/tick.h> |
33 | #include <arch/drivers/tick.h> |
| - | 34 | #include <proc/thread.h> |
|
| 34 | 35 | ||
| 35 | void arch_pre_mm_init(void) |
36 | void arch_pre_mm_init(void) |
| 36 | { |
37 | { |
| 37 | interrupts_disable(); |
38 | interrupts_disable(); |
| 38 | ofw_sparc64_console_init(); |
39 | ofw_sparc64_console_init(); |
| Line 48... | Line 49... | ||
| 48 | { |
49 | { |
| 49 | } |
50 | } |
| 50 | 51 | ||
| 51 | void arch_post_smp_init(void) |
52 | void arch_post_smp_init(void) |
| 52 | { |
53 | { |
| - | 54 | thread_t *t; |
|
| - | 55 | ||
| - | 56 | /* |
|
| - | 57 | * Create thread that reads characters from OFW's input. |
|
| - | 58 | */ |
|
| - | 59 | t = thread_create(kofwinput, NULL, TASK, 0); |
|
| - | 60 | if (!t) |
|
| - | 61 | panic("cannot create kofwinput\n"); |
|
| - | 62 | thread_ready(t); |
|
| 53 | } |
63 | } |
| 54 | 64 | ||
| 55 | void calibrate_delay_loop(void) |
65 | void calibrate_delay_loop(void) |
| 56 | { |
66 | { |
| 57 | } |
67 | } |