diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-05-30 23:26:21 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-05-30 23:26:21 +0200 |
commit | d94ffb4808670993b2c434d612d432548c693832 (patch) | |
tree | ded3f05af0c1c46b5c8a7e5bfae405fe76b34ad2 /sys/src/9/teg2/softfpu.c | |
parent | 9652f5bec54d946775892249c83059c9ca0c6440 (diff) |
kernel: do all fp state fork from procfork() (like pc kernel)
this simplifies the arm ports and keeps all the stuff in one place
instead of spreading it thru notify(), trap() and syscall() functions
and prevents useless fp state copying for kernel procs.
also make sure to save fp in notify while still splhi().
Diffstat (limited to 'sys/src/9/teg2/softfpu.c')
-rw-r--r-- | sys/src/9/teg2/softfpu.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/src/9/teg2/softfpu.c b/sys/src/9/teg2/softfpu.c index 752391f2c..0966bc18a 100644 --- a/sys/src/9/teg2/softfpu.c +++ b/sys/src/9/teg2/softfpu.c @@ -42,27 +42,6 @@ fpunoted(void) } void -fpusysrfork(Ureg*) -{ - /* - * Called early in the non-interruptible path of - * sysrfork() via the machine-dependent syscall() routine. - * Save the state so that it can be easily copied - * to the child process later. - */ -} - -void -fpusysrforkchild(Proc*, Ureg *, Proc*) -{ - /* - * Called later in sysrfork() via the machine-dependent - * sysrforkchild() routine. - * Copy the parent FPU state to the child. - */ -} - -void fpuprocsave(Proc*) { /* |