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