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 unused
details: https://anonhg.NetBSD.org/src/rev/7f46d42d7d97
branches: trunk
changeset: 352011:7f46d42d7d97
user: maxv <maxv%NetBSD.org@localhost>
date: Fri Mar 10 13:42:47 2017 +0000
description:
unused
diffstat:
sys/arch/i386/include/pmc.h | 20 +-------------------
1 files changed, 1 insertions(+), 19 deletions(-)
diffs (34 lines):
diff -r 6ec946443dab -r 7f46d42d7d97 sys/arch/i386/include/pmc.h
--- a/sys/arch/i386/include/pmc.h Fri Mar 10 13:09:11 2017 +0000
+++ b/sys/arch/i386/include/pmc.h Fri Mar 10 13:42:47 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmc.h,v 1.10 2017/02/18 14:36:32 maxv Exp $ */
+/* $NetBSD: pmc.h,v 1.11 2017/03/10 13:42:47 maxv Exp $ */
/*-
* Copyright (c) 2000 Zembu Labs, Inc.
@@ -36,24 +36,6 @@
#ifndef _I386_PMC_H_
#define _I386_PMC_H_
-#define PMC_CLASS_I586 0x10000 /* i586-compatible */
-#define PMC_TYPE_I586_TSC 0x10001 /* cycle counter */
-#define PMC_TYPE_I586_PMCx 0x10002 /* performance counter */
-
-#define PMC_CLASS_I686 0x20000 /* i686-compatible */
-#define PMC_TYPE_I686_TSC 0x20001 /* cycle counter */
-#define PMC_TYPE_I686_PMCx 0x20002 /* performance counter */
-
-#define PMC_CLASS_K7 0x30000 /* K7-compatible */
-#define PMC_TYPE_K7_TSC 0x30001 /* cycle counter */
-#define PMC_TYPE_K7_PMCx 0x30002 /* performance counter */
-
-/*
- * Each PMC event on the x86 is associated with a processor unit. We
- * encode the unit in the upper 16 bits of the event ID.
- */
-#define __PMC_UNIT(x) ((x) << 16)
-
#if defined(_KERNEL)
struct x86_pmc_info_args;
struct x86_pmc_startstop_args;
Home |
Main Index |
Thread Index |
Old Index