UbixOS  2.0
fork.c File Reference
#include <ubixos/fork.h>
#include <sys/types.h>
#include <ubixos/sched.h>
#include <ubixos/tty.h>
#include <ubixos/vitals.h>
#include <vmm/vmm.h>
#include <string.h>
#include <assert.h>
#include <lib/kprintf.h>
#include <sys/descrip.h>
Include dependency graph for fork.c:

Go to the source code of this file.

Functions

 __asm (".globl sysFork_old \n" "sysFork_old: \n" " xor %eax,%eax \n" " call schedNewTask \n" " testl %eax,%eax \n" " je fork_ret \n" " pushl %esi \n" " pushl %edi \n" " pushl %ebp \n" " pushl %eax \n" " call fork_copyProcess \n" " movl %eax,(%ebx) \n" " addl $16,%esp \n" "fork_ret: \n" " ret \n")
 
int fork_copyProcess (struct taskStruct *newProcess, long ebp, long edi, long esi, long none, long ebx, long ecx, long edx, long eip, long cs, long eflags, long esp, long ss)
 
void qT ()
 
int sys_fork (struct thread *td, struct sys_fork_args *args)
 

Function Documentation

◆ __asm()

__asm ( ".globl sysFork_old \n" "sysFork_old: \n" " xor %  eax,
%eax \n" " call schedNewTask \n" " testl %  eax,
%eax \n" " je fork_ret \n" " pushl %esi \n" " pushl %edi \n" " pushl %ebp \n" " pushl %eax \n" " call fork_copyProcess \n" " movl %  eax,
(%ebx) \n" " addl  $16,
%esp \n" "fork_ret:\n" " ret \n"   
)

◆ fork_copyProcess()

◆ qT()

void qT ( )

Definition at line 206 of file fork.c.

References kprintf().

Here is the call graph for this function:

◆ sys_fork()