cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386
support.s src/sys/ia64/ia64 machdep.c src/sys/pc98/i386 machdep.c
src/sys/powerpc/powerpc machdep.c src/sys/sparc64/sparc64
machdep.c src/sys/sys systm.h
Jeff Roberson
jeff at FreeBSD.org
Mon Mar 31 16:18:57 PST 2003
jeff 2003/03/31 16:18:56 PST
FreeBSD src repository
Modified files:
sys/alpha/alpha machdep.c
sys/i386/i386 support.s
sys/ia64/ia64 machdep.c
sys/pc98/i386 machdep.c
sys/powerpc/powerpc machdep.c
sys/sparc64/sparc64 machdep.c
sys/sys systm.h
Log:
- Define a new md function 'casuptr'. This atomically compares and sets
a pointer that is in user space. It will be used as the basic primitive
for a kernel supported user space lock implementation.
- Implement this function in x86's support.s
- Provide stubs that return -1 in all other architectures. Implementations
will follow along shortly.
Reviewed by: jake
Revision Changes Path
1.199 +6 -0 src/sys/alpha/alpha/machdep.c
1.94 +31 -0 src/sys/i386/i386/support.s
1.128 +7 -0 src/sys/ia64/ia64/machdep.c
1.312 +8 -0 src/sys/pc98/i386/machdep.c
1.51 +8 -0 src/sys/powerpc/powerpc/machdep.c
1.78 +7 -0 src/sys/sparc64/sparc64/machdep.c
1.192 +1 -0 src/sys/sys/systm.h
More information about the cvs-src
mailing list