|
miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
|
#include <miniOS/userspace/enter_ring3.h>#include <miniOS/arch/x86_64/tss.h>#include <miniOS/arch/x86_64/segment.h>#include <miniOS/types.h>#include <miniOS/sched/sched.h>#include <miniOS/io.h>#include <string.h>
Functions | |
| int | copy_string_array_to_user (struct thread *t, char *const *arr, uint64_t *user_ptr) |
| Copies each string to the user stack, builds a pointer array below the strings, and writes the address of that array to *@user_ptr. Used by SYS_execve to pass argv/envp to the new process image. | |
| __attribute__ ((noreturn)) | |
| __attribute__ | ( | (noreturn) | ) |
