Subversion Repositories HelenOS-historic

Rev

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

Rev 1187 Rev 1222
Line 55... Line 55...
55
 
55
 
56
#define TLB_EXC ((char *) 0x80000000)
56
#define TLB_EXC ((char *) 0x80000000)
57
#define NORM_EXC ((char *) 0x80000180)
57
#define NORM_EXC ((char *) 0x80000180)
58
#define CACHE_EXC ((char *) 0x80000100)
58
#define CACHE_EXC ((char *) 0x80000100)
59
 
59
 
-
 
60
void arch_pre_main(void)
-
 
61
{
-
 
62
    /* Setup usermode */
-
 
63
    init.cnt = 1;
-
 
64
    init.tasks[0].addr = INIT_ADDRESS;
-
 
65
    init.tasks[0].size = INIT_SIZE;
-
 
66
}
-
 
67
 
60
void arch_pre_mm_init(void)
68
void arch_pre_mm_init(void)
61
{
69
{
62
    /* It is not assumed by default */
70
    /* It is not assumed by default */
63
    interrupts_disable();
71
    interrupts_disable();
64
   
72
   
Line 93... Line 101...
93
     */
101
     */
94
    cp0_compare_write(cp0_compare_value + cp0_count_read());
102
    cp0_compare_write(cp0_compare_value + cp0_count_read());
95
 
103
 
96
    console_init();
104
    console_init();
97
    debugger_init();
105
    debugger_init();
98
   
-
 
99
    /* Setup usermode */
-
 
100
    init.cnt = 1;
-
 
101
    init.tasks[0].addr = INIT_ADDRESS;
-
 
102
    init.tasks[0].size = INIT_SIZE;
-
 
103
}
106
}
104
 
107
 
105
void arch_post_mm_init(void)
108
void arch_post_mm_init(void)
106
{
109
{
107
}
110
}