Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 fix to pass collect memory address to xrs...



details:   https://anonhg.NetBSD.org/src/rev/f605148af626
branches:  trunk
changeset: 327387:f605148af626
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Thu Mar 06 12:30:24 2014 +0000

description:
fix to pass collect memory address to xrstor.

diffstat:

 sys/arch/i386/i386/cpufunc.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f0535fe52ade -r f605148af626 sys/arch/i386/i386/cpufunc.S
--- a/sys/arch/i386/i386/cpufunc.S      Thu Mar 06 12:17:11 2014 +0000
+++ b/sys/arch/i386/i386/cpufunc.S      Thu Mar 06 12:30:24 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.S,v 1.19 2014/02/25 22:16:52 dsl Exp $ */
+/*     $NetBSD: cpufunc.S,v 1.20 2014/03/06 12:30:24 nonaka Exp $      */
 
 /*-
  * Copyright (c) 1998, 2007 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
 #include <sys/errno.h>
 
 #include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.19 2014/02/25 22:16:52 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufunc.S,v 1.20 2014/03/06 12:30:24 nonaka Exp $");
 
 #include "opt_xen.h"
 
@@ -427,7 +427,7 @@
        movl    4(%esp), %ecx
        movl    8(%esp), %eax   /* feature mask bits */
        movl    12(%esp), %edx
-       xrstor  (%eax)
+       xrstor  (%ecx)
        ret
 END(xrstor)
 



Home | Main Index | Thread Index | Old Index