cvs commit: src/sys/kern sched_ule.c src/sys/powerpc/conf GENERIC src/sys/powerpc/powerpc genassym.c swtch.S vm_machdep.c

[ Available lists | Index of cvs-src | Month of Oct 2007 | Week of 23 Oct 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Peter Grehan <grehan@FreeBSD.org>
Date
23 Oct 2007 00:52:26
Subject
cvs commit: src/sys/kern sched_ule.c src/sys/powerpc/conf GENERIC src/sys/powerpc/powerpc genassym.c swtch.S vm_machdep.c
Message-ID
200710230052.l9N0qPoI031265@repoman.freebsd.org


[ Hide this part ]
grehan      2007-10-23 00:52:25 UTC

FreeBSD src repository

Modified files:
sys/kern sched_ule.c
sys/powerpc/conf GENERIC
sys/powerpc/powerpc genassym.c swtch.S vm_machdep.c
Log:
Cut over to ULE on PowerPC

kern/sched_ule.c - Add __powerpc__ to the list of supported architectures

powerpc/conf/GENERIC - Swap SCHED_4BSD with SCHED_ULE

powerpc/powerpc/genassym.c - Export TD_LOCK field of thread struct

powerpc/powerpc/swtch.S - Handle new 3rd parameter to cpu_switch() by
updating the old thread's lock. Note: uniprocessor-only, will require
modification for MP support.

powerpc/powerpc/vm_machdep.c - Set 3rd param of cpu_switch to mutex of
old thread's lock, making the call a no-op.

Reviewed by: marcel, jeffr (slightly older version)

Revision Changes Path
1.216 +1 -1 src/sys/kern/sched_ule.c
1.72 +1 -1 src/sys/powerpc/conf/GENERIC
1.59 +1 -0 src/sys/powerpc/powerpc/genassym.c
1.22 +6 -2 src/sys/powerpc/powerpc/swtch.S
1.116 +1 -1 src/sys/powerpc/powerpc/vm_machdep.c


Elapsed time: 0.063 seconds