Date: Fri, 25 Jul 2014 15:22:11 GMT From: op@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r271369 - soc2014/op/freebsd-base/sys/amd64/include Message-ID: <201407251522.s6PFMB9C080796@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: op Date: Fri Jul 25 15:22:10 2014 New Revision: 271369 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=271369 Log: KSP SMAP: use selfpatch for stac, clac in include/asmacros.h 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/include/asmacros.h Modified: soc2014/op/freebsd-base/sys/amd64/include/asmacros.h ============================================================================== --- soc2014/op/freebsd-base/sys/amd64/include/asmacros.h Fri Jul 25 15:22:01 2014 (r271368) +++ soc2014/op/freebsd-base/sys/amd64/include/asmacros.h Fri Jul 25 15:22:10 2014 (r271369) @@ -33,6 +33,8 @@ #define _MACHINE_ASMACROS_H_ #include <sys/cdefs.h> +#include <machine/specialreg.h> +#include <machine/selfpatch-asmacros.h> /* XXX too much duplication in various asm*.h's. */ @@ -167,7 +169,7 @@ movw %es,TF_ES(%rsp) ; \ movw %ds,TF_DS(%rsp) ; \ movl $TF_HASSEGS,TF_FLAGS(%rsp) ; \ - clac; \ + _clac; \ cld #define POP_FRAME \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407251522.s6PFMB9C080796>