Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Fix up mwait/monitor now that gas has b...
details: https://anonhg.NetBSD.org/src/rev/d79c5171cc96
branches: trunk
changeset: 747754:d79c5171cc96
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Oct 01 09:13:54 2009 +0000
description:
Fix up mwait/monitor now that gas has been fixed.
diffstat:
sys/arch/amd64/amd64/cpufunc.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a5a1942bce94 -r d79c5171cc96 sys/arch/amd64/amd64/cpufunc.S
--- a/sys/arch/amd64/amd64/cpufunc.S Thu Oct 01 09:12:44 2009 +0000
+++ b/sys/arch/amd64/amd64/cpufunc.S Thu Oct 01 09:13:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufunc.S,v 1.15 2008/06/24 16:32:53 ad Exp $ */
+/* $NetBSD: cpufunc.S,v 1.16 2009/10/01 09:13:54 skrll Exp $ */
/*-
* Copyright (c) 1998, 2007, 2008 The NetBSD Foundation, Inc.
@@ -333,7 +333,7 @@
ENTRY(x86_monitor)
movq %rdi, %rax
movq %rsi, %rcx
- monitor %eax, %ecx, %edx /* XXXgas %rax */
+ monitor %rax, %rcx, %rdx
ret
/* Waits - set up stack frame. */
@@ -342,7 +342,7 @@
movq %rsp, %rbp
movq %rdi, %rax
movq %rsi, %rcx
- mwait %eax, %ecx
+ mwait %rax, %rcx
leave
ret
Home |
Main Index |
Thread Index |
Old Index