|
UbixOS
2.0
|


Go to the source code of this file.
Functions | |
| void | execFile (char *file, char **argv, char **envp, int console) |
| uint32_t | execThread (void(*tproc)(void), uint32_t, char *) |
| int | sys_exec (struct thread *, char *, char **, char **) |
| void execFile | ( | char * | file, |
| char ** | argv, | ||
| char ** | envp, | ||
| int | console | ||
| ) |
Definition at line 244 of file i386_exec.c.
Definition at line 148 of file i386_exec.c.
References assert, tssStruct::back_link, tssStruct::cr3, tssStruct::cs, tssStruct::ds, tssStruct::ebp, tssStruct::edi, tssStruct::eflags, tssStruct::eip, tssStruct::es, tssStruct::esi, tssStruct::esp, tssStruct::esp0, tssStruct::esp1, tssStruct::esp2, taskStruct::files, tssStruct::fs, tssStruct::gs, taskStruct::id, tssStruct::io_map, kernelPageDirectory, kpanic(), tssStruct::ldt, taskStruct::oInfo, PAGE_SIZE, READY, sched_setStatus(), schedNewTask(), tssStruct::ss, tssStruct::ss0, tssStruct::ss1, tssStruct::ss2, tssStruct::trace_bitmap, taskStruct::tss, vmm_getFreeKernelPage(), and osInfo::vmStart.

| int sys_exec | ( | struct thread * | , |
| char * | , | ||
| char ** | , | ||
| char ** | |||
| ) |
Clean the virtual of COW pages left over from the fork
Definition at line 491 of file i386_exec.c.