Subversion Repositories HelenOS

Rev

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

Rev 1222 Rev 1332
Line 58... Line 58...
58
#define CACHE_EXC ((char *) 0x80000100)
58
#define CACHE_EXC ((char *) 0x80000100)
59
 
59
 
60
void arch_pre_main(void)
60
void arch_pre_main(void)
61
{
61
{
62
    /* Setup usermode */
62
    /* Setup usermode */
63
    init.cnt = 1;
63
    init.cnt = 2;
64
    init.tasks[0].addr = INIT_ADDRESS;
64
    init.tasks[0].addr = INIT_ADDRESS;
65
    init.tasks[0].size = INIT_SIZE;
65
    init.tasks[0].size = INIT_SIZE;
-
 
66
    init.tasks[1].addr = INIT_ADDRESS + 0x100000;
-
 
67
    init.tasks[1].size = INIT_SIZE;
-
 
68
    init.tasks[2].addr = INIT_ADDRESS + 0x200000;
-
 
69
    init.tasks[2].size = INIT_SIZE;
66
}
70
}
67
 
71
 
68
void arch_pre_mm_init(void)
72
void arch_pre_mm_init(void)
69
{
73
{
70
    /* It is not assumed by default */
74
    /* It is not assumed by default */