Changes in kernel/arch/arm32/src/userspace.c [5a5269d:88e43bc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/userspace.c
r5a5269d r88e43bc 71 71 72 72 /* set first parameter */ 73 ustate.r0 = kernel_uarg->uspace_uarg;73 ustate.r0 = (uintptr_t) kernel_uarg->uspace_uarg; 74 74 75 75 /* %r1 is defined to hold pcb_ptr - set it to 0 */ … … 93 93 94 94 /* set user stack */ 95 ustate.sp = kernel_uarg->uspace_stack+95 ustate.sp = ((uint32_t) kernel_uarg->uspace_stack) + 96 96 kernel_uarg->uspace_stack_size; 97 97 98 98 /* set where uspace execution starts */ 99 ustate.pc = kernel_uarg->uspace_entry;99 ustate.pc = (uintptr_t) kernel_uarg->uspace_entry; 100 100 101 101 /* status register in user mode */
Note:
See TracChangeset
for help on using the changeset viewer.