Changeset 6843a9c in mainline for kernel/arch/sparc64/src/sun4v/sparc64.c
- Timestamp:
- 2012-06-29T13:02:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 722912e
- Parents:
- ba72f2b (diff), 0bbd13e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sun4v/sparc64.c
rba72f2b r6843a9c 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.