Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/usr.sbin/cpuctl/arch Pull up following revision(s) (reque...
details: https://anonhg.NetBSD.org/src/rev/f016c9a2bf29
branches: netbsd-7
changeset: 799062:f016c9a2bf29
user: snj <snj%NetBSD.org@localhost>
date: Mon Mar 09 07:58:34 2015 +0000
description:
Pull up following revision(s) (requested by tnn in ticket #570):
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 6339268cf763 -r f016c9a2bf29 usr.sbin/cpuctl/arch/i386-asm.S
--- a/usr.sbin/cpuctl/arch/i386-asm.S Mon Mar 09 07:56:43 2015 +0000
+++ b/usr.sbin/cpuctl/arch/i386-asm.S Mon Mar 09 07:58:34 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i386-asm.S,v 1.3 2013/01/07 23:20:42 dsl Exp $ */
+/* $NetBSD: i386-asm.S,v 1.3.8.1 2015/03/09 07:58:34 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 6339268cf763 -r f016c9a2bf29 usr.sbin/cpuctl/arch/x86_64-asm.S
--- a/usr.sbin/cpuctl/arch/x86_64-asm.S Mon Mar 09 07:56:43 2015 +0000
+++ b/usr.sbin/cpuctl/arch/x86_64-asm.S Mon Mar 09 07:58:34 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: x86_64-asm.S,v 1.4 2013/01/07 23:20:42 dsl Exp $ */
+/* $NetBSD: x86_64-asm.S,v 1.4.8.1 2015/03/09 07:58:34 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