Changeset ed166f7 in mainline for kernel/arch/sparc64/src/sparc64.c
- Timestamp:
- 2006-08-31T18:53:14Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6767c1d
- Parents:
- e0b241f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sparc64.c
re0b241f red166f7 35 35 #include <arch.h> 36 36 #include <debug.h> 37 #include <config.h> 37 38 #include <arch/trap/trap.h> 38 39 #include <arch/console.h> … … 42 43 #include <arch/boot/boot.h> 43 44 #include <arch/arch.h> 44 #include <arch/mm/tlb.h> 45 #include <mm/asid.h> 45 #include <arch/mm/page.h> 46 #include <arch/stack.h> 47 #include <userspace.h> 46 48 47 49 bootinfo_t bootinfo; … … 92 94 } 93 95 96 /** Switch to userspace. */ 97 void userspace(uspace_arg_t *kernel_uarg) 98 { 99 switch_to_userspace((uintptr_t) kernel_uarg->uspace_entry, 100 ((uintptr_t) kernel_uarg->uspace_stack) + STACK_SIZE 101 - (ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT) + STACK_BIAS)); 102 103 for (;;) 104 ; 105 /* not reached */ 106 } 107 94 108 /** @} 95 109 */
Note:
See TracChangeset
for help on using the changeset viewer.