Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/usr.sbin/cpuctl/arch Pull up following revision(s) (reque...



details:   https://anonhg.NetBSD.org/src/rev/2faca7256e85
branches:  netbsd-6
changeset: 776925:2faca7256e85
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Mar 24 08:54:51 2015 +0000

description:
Pull up following revision(s) (requested by tnn in ticket #1266):
        usr.sbin/cpuctl/arch/i386-asm.S: revision 1.4
        usr.sbin/cpuctl/arch/x86_64-asm.S: revision 1.5
xgetbv expects XCR0 to be speficied in %ecx, don't leave %ecx undefined

diffstat:

 usr.sbin/cpuctl/arch/i386-asm.S   |  3 ++-
 usr.sbin/cpuctl/arch/x86_64-asm.S |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r a6f1bc5f9a75 -r 2faca7256e85 usr.sbin/cpuctl/arch/i386-asm.S
--- a/usr.sbin/cpuctl/arch/i386-asm.S   Tue Mar 24 08:51:14 2015 +0000
+++ b/usr.sbin/cpuctl/arch/i386-asm.S   Tue Mar 24 08:54:51 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i386-asm.S,v 1.1.24.1 2015/01/16 08:30:50 snj Exp $    */
+/*     $NetBSD: i386-asm.S,v 1.1.24.2 2015/03/24 08:54:51 snj Exp $    */
 
 /*-
  * Copyright (c) 1998, 2000, 2004, 2006, 2007 The NetBSD Foundation, Inc.
@@ -49,6 +49,7 @@
 END(x86_cpuid2)
 
 ENTRY(x86_xgetbv)
+       xorl    %ecx, %ecx
        xgetbv
        ret
 END(x86_xgetbv)
diff -r a6f1bc5f9a75 -r 2faca7256e85 usr.sbin/cpuctl/arch/x86_64-asm.S
--- a/usr.sbin/cpuctl/arch/x86_64-asm.S Tue Mar 24 08:51:14 2015 +0000
+++ b/usr.sbin/cpuctl/arch/x86_64-asm.S Tue Mar 24 08:54:51 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: x86_64-asm.S,v 1.2.20.1 2015/01/16 08:30:50 snj Exp $  */
+/*     $NetBSD: x86_64-asm.S,v 1.2.20.2 2015/03/24 08:54:51 snj Exp $  */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -44,6 +44,7 @@
        ret
 
 ENTRY(x86_xgetbv)
+       xorl    %ecx, %ecx
        xgetbv
        ret
 



Home | Main Index | Thread Index | Old Index