Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/dev Mark 'n' explicitely as output of the 'mu...
details: https://anonhg.NetBSD.org/src/rev/744736a39ba5
branches: trunk
changeset: 487416:744736a39ba5
user: leo <leo%NetBSD.org@localhost>
date: Wed Jun 07 14:26:11 2000 +0000
description:
Mark 'n' explicitely as output of the 'mulul' instruction.
diffstat:
sys/arch/atari/dev/clock.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0e193a837f62 -r 744736a39ba5 sys/arch/atari/dev/clock.c
--- a/sys/arch/atari/dev/clock.c Wed Jun 07 14:04:45 2000 +0000
+++ b/sys/arch/atari/dev/clock.c Wed Jun 07 14:26:11 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clock.c,v 1.22 2000/05/31 12:27:30 leo Exp $ */
+/* $NetBSD: clock.c,v 1.23 2000/06/07 14:26:11 leo Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -314,7 +314,7 @@
u_int temp;
__asm __volatile ("mulul %2,%1:%0" : "=d" (n), "=d" (temp)
- : "d" (TIMB_FREQ));
+ : "d" (TIMB_FREQ), "d" (n));
__asm __volatile ("divul %1,%2:%0" : "=d" (n)
: "d"(1000000),"d"(temp),"0"(n));
}
Home |
Main Index |
Thread Index |
Old Index