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