Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/x68k/include pullup 1.11->1.12 (minoura): Use ...
details: https://anonhg.NetBSD.org/src/rev/33060522314a
branches: netbsd-1-4
changeset: 468954:33060522314a
user: perry <perry%NetBSD.org@localhost>
date: Thu Jun 24 15:54:35 1999 +0000
description:
pullup 1.11->1.12 (minoura): Use mvme68k-derived delay() routine
diffstat:
sys/arch/x68k/include/param.h | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (23 lines):
diff -r 4dbf533d7234 -r 33060522314a sys/arch/x68k/include/param.h
--- a/sys/arch/x68k/include/param.h Thu Jun 24 15:53:53 1999 +0000
+++ b/sys/arch/x68k/include/param.h Thu Jun 24 15:54:35 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.11 1998/12/13 15:04:01 minoura Exp $ */
+/* $NetBSD: param.h,v 1.11.4.1 1999/06/24 15:54:35 perry Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -82,9 +82,10 @@
#if defined(_KERNEL) && !defined(_LOCORE)
-extern int cpuspeed;
-#define delay(n) do { register int N = cpuspeed * (n); while (--N > 0); } while(0)
-#define DELAY(n) delay(n)
+#define delay(us) _delay((us) << 8)
+#define DELAY(us) delay(us)
+
+void _delay __P((u_int));
#endif /* _KERNEL && !_LOCORE */
#if defined(_KERNEL) && !defined(_LKM)
Home |
Main Index |
Thread Index |
Old Index