Module Name: src
Committed By: maxv
Date: Fri Mar 10 13:42:47 UTC 2017
Modified Files:
src/sys/arch/i386/include: pmc.h
Log Message:
unused
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/i386/include/pmc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/include/pmc.h
diff -u src/sys/arch/i386/include/pmc.h:1.10 src/sys/arch/i386/include/pmc.h:1.11
--- src/sys/arch/i386/include/pmc.h:1.10 Sat Feb 18 14:36:32 2017
+++ src/sys/arch/i386/include/pmc.h Fri Mar 10 13:42:47 2017
@@ -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;