Changeset ebb1489 in mainline for kernel/generic/src/main
- Timestamp:
- 2024-10-13T08:23:40Z (19 months ago)
- Parents:
- 2a0c827c (diff), b3b79981 (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. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- Location:
- kernel/generic/src/main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
r2a0c827c rebb1489 296 296 } 297 297 298 } else if (i == init.cnt - 1) { 299 /* 300 * Assume the last task is the RAM disk. 301 */ 298 } else if (str_cmp(name, "initrd.img") == 0) { 302 299 init_rd((void *) init.tasks[i].paddr, init.tasks[i].size); 303 300 } else { -
kernel/generic/src/main/uinit.c
r2a0c827c rebb1489 60 60 #endif 61 61 62 uspace_arg_t *uarg = arg; 63 uspace_arg_t local_uarg; 64 65 local_uarg.uspace_entry = uarg->uspace_entry; 66 local_uarg.uspace_stack = uarg->uspace_stack; 67 local_uarg.uspace_stack_size = uarg->uspace_stack_size; 68 local_uarg.uspace_uarg = uarg->uspace_uarg; 69 local_uarg.uspace_thread_function = USPACE_NULL; 70 local_uarg.uspace_thread_arg = USPACE_NULL; 71 62 uinit_arg_t *uarg = arg; 63 sysarg_t pc = uarg->pc; 64 sysarg_t sp = uarg->sp; 72 65 free(uarg); 73 66 74 userspace( &local_uarg);67 userspace(pc, sp); 75 68 } 76 69
Note:
See TracChangeset
for help on using the changeset viewer.
