summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-08-28 02:28:15 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-08-28 02:28:15 +0000
commit87b5aa08ee93b317c4d88805ce8e361853411027 (patch)
tree7be2d51c02f47e64ee8dc4e4ec29bd1716dd3c70 /sys/i386
parentf2ccfe95252579f4a77ff68a316f2f07850f0277 (diff)
downloadFreeBSD-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.s2
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)
OpenPOWER on IntegriCloud