fpudevprocio is a function pointer now. ironicly this was done to reduce churn. :-(. Reference: /n/atom/patch/applied2013/armfpudevproc Date: Thu Jun 13 17:29:26 CES 2013 Signed-off-by: quanstro@quanstro.net --- /sys/src/9/teg2/softfpu.c Thu Jun 13 17:29:16 2013 +++ /sys/src/9/teg2/softfpu.c Thu Jun 13 17:29:16 2013 @@ -4,21 +4,6 @@ #include "dat.h" #include "fns.h" -int -fpudevprocio(Proc* proc, void* a, long n, uintptr offset, int write) -{ - /* - * Called from procdevtab.read and procdevtab.write - * allow user process access to the FPU registers. - * This is the only FPU routine which is called directly - * from the port code; it would be nice to have dynamic - * creation of entries in the device file trees... - */ - USED(proc, a, n, offset, write); - - return 0; -} - void fpunotify(Ureg*) { --- /sys/src/9/teg2/fns.h Thu Jun 13 17:29:16 2013 +++ /sys/src/9/teg2/fns.h Thu Jun 13 17:29:16 2013 @@ -169,7 +169,6 @@ extern int fpiarm(Ureg*); -extern int fpudevprocio(Proc*, void*, long, uintptr, int); extern void fpuinit(void); extern void fpunoted(void); extern void fpunotify(Ureg*); --- /sys/src/9/omap/softfpu.c Thu Jun 13 17:29:16 2013 +++ /sys/src/9/omap/softfpu.c Thu Jun 13 17:29:16 2013 @@ -4,21 +4,6 @@ #include "dat.h" #include "fns.h" -int -fpudevprocio(Proc* proc, void* a, long n, uintptr offset, int write) -{ - /* - * Called from procdevtab.read and procdevtab.write - * allow user process access to the FPU registers. - * This is the only FPU routine which is called directly - * from the port code; it would be nice to have dynamic - * creation of entries in the device file trees... - */ - USED(proc, a, n, offset, write); - - return 0; -} - void fpunotify(Ureg*) { --- /sys/src/9/omap/fns.h Thu Jun 13 17:29:16 2013 +++ /sys/src/9/omap/fns.h Thu Jun 13 17:29:16 2013 @@ -71,13 +71,6 @@ extern int tas(void *); extern u32int ttbget(void); extern void ttbput(u32int); - -Dev* devtabget(int, int); -void devtabinit(void); -void devtabreset(void); -long devtabread(Chan*, void*, long, vlong); -void devtabshutdown(void); - extern void intrclear(int sort, int v); extern void intrenable(int sort, int v, void (*f)(Ureg*, void*), void *a, char *name); extern void intrdisable(int sort, int v, void (*f)(Ureg*, void*), void* a, char *name); @@ -95,7 +88,6 @@ extern void trapinit(void); extern int fpiarm(Ureg*); -extern int fpudevprocio(Proc*, void*, long, uintptr, int); extern void fpuinit(void); extern void fpunoted(void); extern void fpunotify(Ureg*); --- /sys/src/9/kw/softfpu.c Thu Jun 13 17:29:16 2013 +++ /sys/src/9/kw/softfpu.c Thu Jun 13 17:29:16 2013 @@ -4,21 +4,6 @@ #include "dat.h" #include "fns.h" -int -fpudevprocio(Proc* proc, void* a, long n, uintptr offset, int write) -{ - /* - * Called from procdevtab.read and procdevtab.write - * allow user process access to the FPU registers. - * This is the only FPU routine which is called directly - * from the port code; it would be nice to have dynamic - * creation of entries in the device file trees... - */ - USED(proc, a, n, offset, write); - - return 0; -} - void fpunotify(Ureg*) { --- /sys/src/9/kw/fns.h Thu Jun 13 17:29:16 2013 +++ /sys/src/9/kw/fns.h Thu Jun 13 17:29:16 2013 @@ -71,13 +71,6 @@ extern int tas(void *); extern u32int ttbget(void); extern void ttbput(u32int); - -Dev* devtabget(int, int); -void devtabinit(void); -void devtabreset(void); -long devtabread(Chan*, void*, long, vlong); -void devtabshutdown(void); - extern void intrclear(int sort, int v); extern void intrenable(int sort, int v, void (*f)(Ureg*, void*), void *a, char *name); extern void intrdisable(int sort, int v, void (*f)(Ureg*, void*), void* a, char *name); @@ -95,7 +88,6 @@ extern void trapinit(void); extern int fpiarm(Ureg*); -extern int fpudevprocio(Proc*, void*, long, uintptr, int); extern void fpuinit(void); extern void fpunoted(void); extern void fpunotify(Ureg*);