socsvn commit: r269003 - soc2014/op/freebsd-base/sys/amd64/include
op at FreeBSD.org
op at FreeBSD.org
Tue Jun 3 10:36:02 UTC 2014
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 at 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 \
More information about the svn-soc-all
mailing list