Subversion Repositories HelenOS-historic

Rev

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

Rev 1474 Rev 1537
Line 59... Line 59...
59
#define CACHE_EXC ((char *) 0x80000100)
59
#define CACHE_EXC ((char *) 0x80000100)
60
 
60
 
61
void arch_pre_main(void)
61
void arch_pre_main(void)
62
{
62
{
63
    /* Setup usermode */
63
    /* Setup usermode */
64
    init.cnt = 5;
64
    init.cnt = 6;
65
    init.tasks[0].addr = INIT_ADDRESS;
65
    init.tasks[0].addr = INIT_ADDRESS;
66
    init.tasks[0].size = INIT_SIZE;
66
    init.tasks[0].size = INIT_SIZE;
67
    init.tasks[1].addr = INIT_ADDRESS + 0x100000;
67
    init.tasks[1].addr = INIT_ADDRESS + 0x100000;
68
    init.tasks[1].size = INIT_SIZE;
68
    init.tasks[1].size = INIT_SIZE;
69
    init.tasks[2].addr = INIT_ADDRESS + 0x200000;
69
    init.tasks[2].addr = INIT_ADDRESS + 0x200000;
70
    init.tasks[2].size = INIT_SIZE;
70
    init.tasks[2].size = INIT_SIZE;
71
    init.tasks[3].addr = INIT_ADDRESS + 0x300000;
71
    init.tasks[3].addr = INIT_ADDRESS + 0x300000;
72
    init.tasks[3].size = INIT_SIZE;
72
    init.tasks[3].size = INIT_SIZE;
73
    init.tasks[4].addr = INIT_ADDRESS + 0x400000;
73
    init.tasks[4].addr = INIT_ADDRESS + 0x400000;
74
    init.tasks[4].size = INIT_SIZE;
74
    init.tasks[4].size = INIT_SIZE;
75
 
-
 
-
 
75
    init.tasks[5].addr = INIT_ADDRESS + 0x500000;
-
 
76
    init.tasks[5].size = INIT_SIZE;
76
}
77
}
77
 
78
 
78
void arch_pre_mm_init(void)
79
void arch_pre_mm_init(void)
79
{
80
{
80
    /* It is not assumed by default */
81
    /* It is not assumed by default */