Date: Fri, 30 Mar 2018 10:36:54 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r331759 - stable/11/sys/i386/i386 Message-ID: <201803301036.w2UAas29034784@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Mar 30 10:36:54 2018 New Revision: 331759 URL: https://svnweb.freebsd.org/changeset/base/331759 Log: MFC r331432: There is no need to disable interrupts around npxsave call. Modified: stable/11/sys/i386/i386/vm86bios.s Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/i386/i386/vm86bios.s ============================================================================== --- stable/11/sys/i386/i386/vm86bios.s Fri Mar 30 03:38:08 2018 (r331758) +++ stable/11/sys/i386/i386/vm86bios.s Fri Mar 30 10:36:54 2018 (r331759) @@ -61,8 +61,6 @@ ENTRY(vm86_bioscall) pushl %edi pushl %gs - pushfl - cli movl PCPU(CURTHREAD),%ecx cmpl %ecx,PCPU(FPCURTHREAD) /* do we need to save fp? */ jne 1f @@ -73,8 +71,6 @@ ENTRY(vm86_bioscall) addl $4,%esp popl %edx /* recover our pcb */ 1: - popfl - movl SCR_VMFRAME(%edx),%ebx /* target frame location */ movl %ebx,%edi /* destination */ movl SCR_ARGFRAME(%edx),%esi /* source (set on entry) */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803301036.w2UAas29034784>