Rev 1507 | Rev 1548 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1507 | Rev 1541 | ||
---|---|---|---|
Line 45... | Line 45... | ||
45 | #include <syscall/syscall.h> |
45 | #include <syscall/syscall.h> |
46 | 46 | ||
47 | void arch_pre_main(void) |
47 | void arch_pre_main(void) |
48 | { |
48 | { |
49 | /* Setup usermode init tasks. */ |
49 | /* Setup usermode init tasks. */ |
50 | init.cnt = 5; |
50 | init.cnt = 6; |
51 | init.tasks[0].addr = INIT0_ADDRESS; |
51 | init.tasks[0].addr = INIT0_ADDRESS; |
52 | init.tasks[0].size = INIT0_SIZE; |
52 | init.tasks[0].size = INIT0_SIZE; |
53 | init.tasks[1].addr = INIT0_ADDRESS + 0x400000; |
53 | init.tasks[1].addr = INIT0_ADDRESS + 0x400000; |
54 | init.tasks[1].size = INIT0_SIZE; |
54 | init.tasks[1].size = INIT0_SIZE; |
55 | init.tasks[2].addr = INIT0_ADDRESS + 0x800000; |
55 | init.tasks[2].addr = INIT0_ADDRESS + 0x800000; |
56 | init.tasks[2].size = INIT0_SIZE; |
56 | init.tasks[2].size = INIT0_SIZE; |
57 | init.tasks[3].addr = INIT0_ADDRESS + 0xc00000; |
57 | init.tasks[3].addr = INIT0_ADDRESS + 0xc00000; |
58 | init.tasks[3].size = INIT0_SIZE; |
58 | init.tasks[3].size = INIT0_SIZE; |
59 | init.tasks[4].addr = INIT0_ADDRESS + 0x1000000; |
59 | init.tasks[4].addr = INIT0_ADDRESS + 0x1000000; |
60 | init.tasks[4].size = INIT0_SIZE; |
60 | init.tasks[4].size = INIT0_SIZE; |
- | 61 | init.tasks[5].addr = INIT0_ADDRESS + 0x1400000; |
|
- | 62 | init.tasks[5].size = INIT0_SIZE; |
|
61 | } |
63 | } |
62 | 64 | ||
63 | void arch_pre_mm_init(void) |
65 | void arch_pre_mm_init(void) |
64 | { |
66 | { |
65 | /* Set Interruption Vector Address (i.e. location of interruption vector table). */ |
67 | /* Set Interruption Vector Address (i.e. location of interruption vector table). */ |