Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 15:22:01 GMT
From:      op@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r271368 - soc2014/op/freebsd-base/sys/amd64/ia32
Message-ID:  <201407251522.s6PFM14A077401@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help

Author: op
Date: Fri Jul 25 15:22:01 2014
New Revision: 271368
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=271368

Log:
  KSP SMAP: use selfpatch for stac, clac in ia32/ia32_exception.S
  
  Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
  
  git: https://github.com/opntr/opBSD/tree/op/gsoc2014/smap+kpatch

Modified:
  soc2014/op/freebsd-base/sys/amd64/ia32/ia32_exception.S

Modified: soc2014/op/freebsd-base/sys/amd64/ia32/ia32_exception.S
==============================================================================
--- soc2014/op/freebsd-base/sys/amd64/ia32/ia32_exception.S	Fri Jul 25 15:21:30 2014	(r271367)
+++ soc2014/op/freebsd-base/sys/amd64/ia32/ia32_exception.S	Fri Jul 25 15:22:01 2014	(r271368)
@@ -27,6 +27,8 @@
  */
 
 #include <machine/asmacros.h>
+#include <machine/specialreg.h>
+#include <machine/selfpatch-asmacros.h>
 
 #include "assym.s"
 
@@ -67,7 +69,7 @@
 	movq	%r14,TF_R14(%rsp)
 	movq	%r15,TF_R15(%rsp)
 	movl	$TF_HASSEGS,TF_FLAGS(%rsp)
-	clac
+	_clac
 	cld
 	FAKE_MCOUNT(TF_RIP(%rsp))
 	movq	%rsp, %rdi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407251522.s6PFM14A077401>