diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-08-28 02:28:15 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-08-28 02:28:15 +0000 |
commit | 87b5aa08ee93b317c4d88805ce8e361853411027 (patch) | |
tree | 7be2d51c02f47e64ee8dc4e4ec29bd1716dd3c70 /sys/i386 | |
parent | f2ccfe95252579f4a77ff68a316f2f07850f0277 (diff) | |
download | FreeBSD-src-87b5aa08ee93b317c4d88805ce8e361853411027.zip FreeBSD-src-87b5aa08ee93b317c4d88805ce8e361853411027.tar.gz |
Implement casuword32, compare and set user integer, thank Marcel Moolenarr
who wrote the IA64 version of casuword32.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/support.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s index c3ac173..aee43a4 100644 --- a/sys/i386/i386/support.s +++ b/sys/i386/i386/support.s @@ -1142,6 +1142,8 @@ fastmove_tail_fault: /* * casuptr. Compare and set user pointer. Returns -1 or the current value. */ + +ALTENTRY(casuword32) ENTRY(casuptr) movl PCPU(CURPCB),%ecx movl $fusufault,PCB_ONFAULT(%ecx) |