DragonFly commits List (threaded) for 2003-11
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/test/sysperf upcall.S src/sys/sys signalvar.h upcall.h src/sys/kern kern_upcall.c src/sys/i386/i386 machdep.c src/lib/libc/sys upc_register.2
dillon 2003/11/21 00:32:49 PST
DragonFly src repository
Modified files:
test/sysperf upcall.S
sys/sys signalvar.h upcall.h
sys/kern kern_upcall.c
sys/i386/i386 machdep.c
lib/libc/sys upc_register.2
Log:
Tweak the context data a bit and do some code cleanup. Save %edx as well
as %eax and %ecx so we can throw the upcall pointer into %edx, which makes
it possible to create self-contained context assembly code. This also
improves performance by giving the context assembly (see
src/test/sysperf/upcall.S) easier access to the upcall structure.
It's also safer (though not critical) to have the kernel save all the
call-used registers when setting up for an upcall.
Revision Changes Path
1.2 +8 -4 src/test/sysperf/upcall.S
1.9 +1 -1 src/sys/sys/signalvar.h
1.3 +0 -1 src/sys/sys/upcall.h
1.2 +1 -1 src/sys/kern/kern_upcall.c
1.46 +8 -2 src/sys/i386/i386/machdep.c
1.2 +14 -10 src/lib/libc/sys/upc_register.2
http://www.dragonflybsd.org/cvsweb/src/test/sysperf/upcall.S.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/signalvar.h.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/upcall.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_upcall.c.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/machdep.c.diff?r1=1.45&r2=1.46&f=h
http://www.dragonflybsd.org/cvsweb/src/lib/libc/sys/upc_register.2.diff?r1=1.1&r2=1.2&f=h
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]