Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/arch/sparc64/sparc64 Pull up revision 1.169 (reques...
details: https://anonhg.NetBSD.org/src/rev/d2c38dd1899f
branches: netbsd-1-6
changeset: 530429:d2c38dd1899f
user: grant <grant%NetBSD.org@localhost>
date: Tue Jun 24 09:34:15 2003 +0000
description:
Pull up revision 1.169 (requested by nakayama in ticket #1329):
Switch to use cycle counter (%tick) based microtime().
This is derived from alpha/microtime.c and i386/tsc_microtime.c,
and will share with both ports.
diffstat:
sys/arch/sparc64/sparc64/locore.s | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r a970b6d011ad -r d2c38dd1899f sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Tue Jun 24 09:32:48 2003 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Tue Jun 24 09:34:15 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.153.4.3 2002/06/06 08:18:57 lukem Exp $ */
+/* $NetBSD: locore.s,v 1.153.4.4 2003/06/24 09:34:15 grant Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath
@@ -11567,6 +11567,7 @@
.xword 0
.text
+#if 0 /* XXX use MI microtime(), so should be removed */
ENTRY(microtime)
sethi %hi(timerreg_4u), %g3
sethi %hi(_C_LABEL(time)), %g2
@@ -11673,6 +11674,7 @@
retl
STPTR %o1, [%o0+PTRSZ] ! Save time_t low word
#endif
+#endif
/*
* delay function
Home |
Main Index |
Thread Index |
Old Index