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 Embed "pmc_evid_t" and "pmc_ctr_t" int...



details:   https://anonhg.NetBSD.org/src/rev/10accb315696
branches:  trunk
changeset: 534964:10accb315696
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Aug 07 09:34:54 2002 +0000

description:
Embed "pmc_evid_t" and "pmc_ctr_t" into "if defined(_KERNEL)" and use
"__uint64_t" from "int_types.h". This fixes "lint" errors while
building "libc".

diffstat:

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

diffs (21 lines):

diff -r b831bf5f57ff -r 10accb315696 sys/arch/i386/include/types.h
--- a/sys/arch/i386/include/types.h     Wed Aug 07 08:01:57 2002 +0000
+++ b/sys/arch/i386/include/types.h     Wed Aug 07 09:34:54 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.31 2002/08/07 05:38:24 briggs Exp $        */
+/*     $NetBSD: types.h,v 1.32 2002/08/07 09:34:54 tron Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -55,8 +55,10 @@
 typedef unsigned long  vsize_t;
 #endif
 
+#if defined(_KERNEL)
 typedef int            pmc_evid_t;
-typedef unsigned long long pmc_ctr_t;
+typedef __uint64_t     pmc_ctr_t;
+#endif
 typedef int            register_t;
 
 /* The x86 does not have strict alignment requirements. */



Home | Main Index | Thread Index | Old Index