Date: Sun, 12 Jan 2014 12:14:39 +0000 (UTC) From: "Cherry G. Mathew" <cherry@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r260560 - projects/amd64_xen_pv/sys/amd64/xen Message-ID: <201401121214.s0CCEdFG098797@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cherry Date: Sun Jan 12 12:14:38 2014 New Revision: 260560 URL: http://svnweb.freebsd.org/changeset/base/260560 Log: Revert the first part of r259097. 32bit ops on registers automatically clear out the top 32bits of its 64bits. Suggested by: jilles@ Approved by: gibbs@ (implicit) Modified: projects/amd64_xen_pv/sys/amd64/xen/exception.S Modified: projects/amd64_xen_pv/sys/amd64/xen/exception.S ============================================================================== --- projects/amd64_xen_pv/sys/amd64/xen/exception.S Sun Jan 12 11:44:28 2014 (r260559) +++ projects/amd64_xen_pv/sys/amd64/xen/exception.S Sun Jan 12 12:14:38 2014 (r260560) @@ -220,7 +220,7 @@ movq PCPU(CURTHREAD),%rdi ;\ movq %rsp, TD_FRAME(%rdi) ;\ movl TF_RFLAGS(%rsp),%esi ;\ - andq $PSL_T, %rsi ;\ + andl $PSL_T,%esi ;\ call amd64_syscall #define SYSRET \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401121214.s0CCEdFG098797>