DragonFly commits List (threaded) for 2003-12
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/lib/libcaps asdefs.c init.c sysport.c sysport.h uthread.c Makefile defs.h globaldata.c globaldata.h slaballoc.c slaballoc.h thread.h src/lib/libcaps/i386 Makefile.inc asmacros.h md_globaldata.c md_globaldata.h mplock.S sendsys.h td_switch.c ...
dillon 2003/12/04 14:06:22 PST
DragonFly src repository
Modified files:
lib/libcaps Makefile defs.h globaldata.c globaldata.h
slaballoc.c slaballoc.h thread.h
Added files:
lib/libcaps asdefs.c init.c sysport.c sysport.h
uthread.c
lib/libcaps/i386 Makefile.inc asmacros.h md_globaldata.c
md_globaldata.h mplock.S sendsys.h
td_switch.c td_switch_asm.S upcall.S
Log:
Major libcaps work to support userland threading. Stage 1/2.
Hook the system's upcall mechanism into the globaldata structure
and hook up the LWKT thread switching primitives. Integrate the
mp_lock code from DragonFly into libcaps to serve as a master lock
for userland threading as well (it turns out that the BGL support in
DragonFly could be trivially ported to the userland threading code).
Still todo: hook up critical section handling, deal with FP regs,
hook up rfork support for multiple virtual cpu's via the upcall mechanism,
and testing of same.
Work by: Galen Sampson <galen_sampson@xxxxxxxxx> and
Matthew Dillon <dillon@xxxxxxxxxxxxx>
Revision Changes Path
1.2 +37 -6 src/lib/libcaps/Makefile
1.2 +6 -0 src/lib/libcaps/defs.h
1.2 +46 -20 src/lib/libcaps/globaldata.c
1.2 +26 -6 src/lib/libcaps/globaldata.h
1.2 +19 -14 src/lib/libcaps/slaballoc.c
1.2 +1 -0 src/lib/libcaps/slaballoc.h
1.2 +14 -4 src/lib/libcaps/thread.h
http://www.dragonflybsd.org/cvsweb/src/lib/libcaps/Makefile.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/lib/libcaps/defs.h.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/lib/libcaps/globaldata.c.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/lib/libcaps/globaldata.h.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/lib/libcaps/slaballoc.c.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/lib/libcaps/slaballoc.h.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/lib/libcaps/thread.h.diff?r1=1.1&r2=1.2&f=h
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]