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