Changeset 6843a9c in mainline for kernel/arch/sparc64/src/sun4u/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/sun4u/sparc64.c
rba72f2b r6843a9c 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.