Rev 2519 | Rev 3578 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2519 | Rev 2745 | ||
|---|---|---|---|
| Line 60... | Line 60... | ||
| 60 | void arch_pre_main(void) |
60 | void arch_pre_main(void) |
| 61 | { |
61 | { |
| 62 | /* Setup usermode init tasks. */ |
62 | /* Setup usermode init tasks. */ |
| 63 | 63 | ||
| 64 | //#ifdef I460GX |
64 | //#ifdef I460GX |
| 65 | int i; |
65 | unsigned int i; |
| - | 66 | ||
| 66 | init.cnt = bootinfo->taskmap.count; |
67 | init.cnt = bootinfo->taskmap.count; |
| 67 | for(i=0;i<init.cnt;i++) |
- | |
| 68 | { |
68 | |
| - | 69 | for (i = 0; i < init.cnt; i++) { |
|
| 69 | init.tasks[i].addr = ((unsigned long)bootinfo->taskmap.tasks[i].addr)|VRN_MASK; |
70 | init.tasks[i].addr = ((unsigned long) bootinfo->taskmap.tasks[i].addr) | VRN_MASK; |
| 70 | init.tasks[i].size = bootinfo->taskmap.tasks[i].size; |
71 | init.tasks[i].size = bootinfo->taskmap.tasks[i].size; |
| 71 | } |
72 | } |
| 72 | /* |
73 | /* |
| 73 | #else |
74 | #else |
| 74 | init.cnt = 8; |
75 | init.cnt = 8; |
| 75 | init.tasks[0].addr = INIT0_ADDRESS; |
76 | init.tasks[0].addr = INIT0_ADDRESS; |