Subversion Repositories HelenOS

Rev

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

Rev 1903 Rev 1919
Line 44... Line 44...
44
#include <arch/asm.h>
44
#include <arch/asm.h>
45
#include <arch/mm/page.h>
45
#include <arch/mm/page.h>
46
#include <arch/stack.h>
46
#include <arch/stack.h>
47
#include <genarch/ofw/ofw_tree.h>
47
#include <genarch/ofw/ofw_tree.h>
48
#include <userspace.h>
48
#include <userspace.h>
-
 
49
#include <irq.h>
49
 
50
 
50
bootinfo_t bootinfo;
51
bootinfo_t bootinfo;
51
 
52
 
52
void arch_pre_main(void)
53
void arch_pre_main(void)
53
{
54
{
Line 74... Line 75...
74
        trap_init();
75
        trap_init();
75
}
76
}
76
 
77
 
77
void arch_post_mm_init(void)
78
void arch_post_mm_init(void)
78
{
79
{
79
    if (config.cpu_active == 1)
80
    if (config.cpu_active == 1) {
-
 
81
        irq_init(1<<11, 128);
80
        standalone_sparc64_console_init();
82
        standalone_sparc64_console_init();
-
 
83
    }
81
}
84
}
82
 
85
 
83
void arch_post_cpu_init(void)
86
void arch_post_cpu_init(void)
84
{
87
{
85
}
88
}