Date: Tue, 3 Jun 2014 10:36:02 GMT From: op@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r269003 - soc2014/op/freebsd-base/sys/amd64/include Message-ID: <201406031036.s53Aa2Px045311@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: op Date: Tue Jun 3 10:36:01 2014 New Revision: 269003 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=269003 Log: SMAP AMD64: clear SMAP state in PUSH_FRAME asmacro PUSH_FRAME used in function are in sys/amd64/amd64/apic_vector.S These function called on external interrupt. 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/amd64/include/asmacros.h Modified: soc2014/op/freebsd-base/sys/amd64/include/asmacros.h ============================================================================== --- soc2014/op/freebsd-base/sys/amd64/include/asmacros.h Tue Jun 3 09:41:37 2014 (r269002) +++ soc2014/op/freebsd-base/sys/amd64/include/asmacros.h Tue Jun 3 10:36:01 2014 (r269003) @@ -167,6 +167,7 @@ movw %es,TF_ES(%rsp) ; \ movw %ds,TF_DS(%rsp) ; \ movl $TF_HASSEGS,TF_FLAGS(%rsp) ; \ + clac; \ cld #define POP_FRAME \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406031036.s53Aa2Px045311>