Module Name: src Committed By: matt Date: Sat Nov 13 02:23:27 UTC 2010
Modified Files: src/sys/arch/vax/include: cpu.h trap.h src/sys/arch/vax/vax: genassym.cf lock_stubs.S trap.c Log Message: Implement CAS using a RAS for non-MP VAX systems. This technique uses the atomicity of indirect addressing for correctness. It also uses the knowledge of dereferencing an address outside the page table length will cause a PTELEN trap. [Tested on netbsd-5] To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/arch/vax/include/cpu.h cvs rdiff -u -r1.22 -r1.23 src/sys/arch/vax/include/trap.h cvs rdiff -u -r1.46 -r1.47 src/sys/arch/vax/vax/genassym.cf cvs rdiff -u -r1.16 -r1.17 src/sys/arch/vax/vax/lock_stubs.S cvs rdiff -u -r1.124 -r1.125 src/sys/arch/vax/vax/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.