Changes in kernel/arch/sparc64/src/sun4u/sparc64.c [2902e1bb:eff1f033] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sun4u/sparc64.c
r2902e1bb reff1f033 62 62 size_t i; 63 63 for (i = 0; i < init.cnt; i++) { 64 init.tasks[i]. paddr = KA2PA(bootinfo->taskmap.tasks[i].addr);64 init.tasks[i].addr = (uintptr_t) bootinfo->taskmap.tasks[i].addr; 65 65 init.tasks[i].size = bootinfo->taskmap.tasks[i].size; 66 66 str_cpy(init.tasks[i].name, CONFIG_TASK_NAME_BUFLEN, … … 94 94 { 95 95 if (config.cpu_active == 1) { 96 /* Map OFW information into sysinfo */97 ofw_sysinfo_map();98 99 96 /* 100 97 * We have 2^11 different interrupt vectors. … … 156 153 (void) interrupts_disable(); 157 154 switch_to_userspace((uintptr_t) kernel_uarg->uspace_entry, 158 ((uintptr_t) kernel_uarg->uspace_stack) + 159 kernel_uarg->uspace_stack_size - 160 (ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT) + STACK_BIAS), 155 ((uintptr_t) kernel_uarg->uspace_stack) + STACK_SIZE 156 - (ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT) + STACK_BIAS), 161 157 (uintptr_t) kernel_uarg->uspace_uarg); 162 163 /* Not reached */ 164 while (1); 158 159 for (;;) 160 ; 161 /* not reached */ 165 162 } 166 163
Note:
See TracChangeset
for help on using the changeset viewer.