Changeset 8688a6e in mainline
- Timestamp:
- 2009-08-08T10:31:53Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d5f8f19, e49b57b2
- Parents:
- 586cd56
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sparc64.c
r586cd56 r8688a6e 135 135 void userspace(uspace_arg_t *kernel_uarg) 136 136 { 137 (void) interrupts_disable(); 137 138 switch_to_userspace((uintptr_t) kernel_uarg->uspace_entry, 138 139 ((uintptr_t) kernel_uarg->uspace_stack) + STACK_SIZE -
kernel/generic/src/main/uinit.c
r586cd56 r8688a6e 81 81 free((uspace_arg_t *) arg); 82 82 83 /*84 * Disable interrupts so that the execution of userspace() is not85 * disturbed by any interrupts as some of the userspace()86 * implementations will switch to the userspace stack before switching87 * the mode.88 */89 (void) interrupts_disable();90 83 userspace(&uarg); 91 84 }
Note:
See TracChangeset
for help on using the changeset viewer.