Rev 1474 | Rev 1507 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1474 | Rev 1495 | ||
---|---|---|---|
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 = 2; |
50 | init.cnt = 5; |
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 = INIT1_ADDRESS; |
53 | init.tasks[1].addr = INIT0_ADDRESS + 0x400000; |
54 | init.tasks[1].size = INIT1_SIZE; |
54 | init.tasks[1].size = INIT0_SIZE; |
- | 55 | init.tasks[2].addr = INIT0_ADDRESS + 0x800000; |
|
- | 56 | init.tasks[2].size = INIT0_SIZE; |
|
- | 57 | init.tasks[3].addr = INIT0_ADDRESS + 0xc00000; |
|
- | 58 | init.tasks[3].size = INIT0_SIZE; |
|
- | 59 | init.tasks[4].addr = INIT0_ADDRESS + 0x1000000; |
|
- | 60 | init.tasks[4].size = INIT0_SIZE; |
|
55 | } |
61 | } |
56 | 62 | ||
57 | void arch_pre_mm_init(void) |
63 | void arch_pre_mm_init(void) |
58 | { |
64 | { |
59 | /* Set Interruption Vector Address (i.e. location of interruption vector table). */ |
65 | /* Set Interruption Vector Address (i.e. location of interruption vector table). */ |