Subversion Repositories HelenOS-historic

Rev

Rev 669 | Rev 893 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 669 Rev 883
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();
-
 
40
    trap_init();
39
    trap_init();
41
    tick_init();
40
    tick_init();
42
}
41
}
43
 
42
 
44
void arch_post_mm_init(void)
43
void arch_post_mm_init(void)
45
{
44
{
-
 
45
    fb_sparc64_console_init();
46
}
46
}
47
 
47
 
48
void arch_pre_smp_init(void)
48
void arch_pre_smp_init(void)
49
{
49
{
50
}
50
}
51
 
51
 
52
void arch_post_smp_init(void)
52
void arch_post_smp_init(void)
53
{
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);
-
 
63
}
54
}
64
 
55
 
65
void calibrate_delay_loop(void)
56
void calibrate_delay_loop(void)
66
{
57
{
67
}
58
}