Date: Fri, 13 Jun 2014 00:39:47 GMT From: op@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r269497 - soc2014/op/freebsd-base/sys/i386/i386 Message-ID: <201406130039.s5D0dkrd074790@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: op Date: Fri Jun 13 00:39:46 2014 New Revision: 269497 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=269497 Log: SMAP i386: stac instruction should fail when used with lock prefix git: https://github.com/opntr/opBSD/commits/op/gsoc2014/smap Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com> Modified: soc2014/op/freebsd-base/sys/i386/i386/support.s Modified: soc2014/op/freebsd-base/sys/i386/i386/support.s ============================================================================== --- soc2014/op/freebsd-base/sys/i386/i386/support.s Fri Jun 13 00:34:34 2014 (r269496) +++ soc2014/op/freebsd-base/sys/i386/i386/support.s Fri Jun 13 00:39:46 2014 (r269497) @@ -421,10 +421,10 @@ cmpl $VM_MAXUSER_ADDRESS-4,%edx /* verify address is valid */ ja fusufault + stac /* open user-space */ #ifdef SMP lock #endif - stac /* open user-space */ cmpxchgl %ecx,(%edx) /* Compare and set. */ clac /* close user-space */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406130039.s5D0dkrd074790>