Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/include Return the full width of the counter h...



details:   https://anonhg.NetBSD.org/src/rev/9159b2e8c845
branches:  trunk
changeset: 494141:9159b2e8c845
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sun Jul 02 21:05:14 2000 +0000

description:
Return the full width of the counter here.

diffstat:

 sys/arch/i386/include/rnd.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f03e7b6d5802 -r 9159b2e8c845 sys/arch/i386/include/rnd.h
--- a/sys/arch/i386/include/rnd.h       Sun Jul 02 21:04:33 2000 +0000
+++ b/sys/arch/i386/include/rnd.h       Sun Jul 02 21:05:14 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rnd.h,v 1.2 2000/06/06 01:33:17 sommerfeld Exp $       */
+/*     $NetBSD: rnd.h,v 1.3 2000/07/02 21:05:14 sommerfeld Exp $       */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 #endif
 }
 
-static __inline u_int32_t
+static __inline u_int64_t
 cpu_counter(void)
 {
        return rdtsc();



Home | Main Index | Thread Index | Old Index