Changeset 3fcea34 in mainline for kernel/arch/ppc32/src/ppc32.c
- Timestamp:
- 2024-09-20T12:16:28Z (6 weeks ago)
- Branches:
- master
- Children:
- d3109ff
- Parents:
- 2cf8f994
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2024-09-20 11:42:13)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2024-09-20 12:16:28)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/ppc32.c
r2cf8f994 r3fcea34 49 49 #include <mm/km.h> 50 50 #include <time/clock.h> 51 #include <abi/proc/uarg.h>52 51 #include <console/console.h> 53 52 #include <sysinfo/sysinfo.h> … … 290 289 } 291 290 292 void userspace(uspace_arg_t *kernel_uarg) 293 { 294 userspace_asm(kernel_uarg->uspace_uarg, 295 kernel_uarg->uspace_stack + 296 kernel_uarg->uspace_stack_size - SP_DELTA, 297 kernel_uarg->uspace_entry); 298 291 uintptr_t arch_get_initial_sp(uintptr_t stack_base, uintptr_t stack_size) 292 { 293 return stack_base + stack_size - SP_DELTA; 294 } 295 296 void userspace(uintptr_t pc, uintptr_t sp) 297 { 298 userspace_asm(0, sp, pc); 299 299 unreachable(); 300 300 }
Note:
See TracChangeset
for help on using the changeset viewer.