From f7db53a9d138b86810b2eec364678ab67ad0ba30 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Wed, 23 Dec 2009 23:16:54 +0000 Subject: Intel XScale hwpmc(4) support. This brings hwpmc(4) support for 2nd and 3rd generation XScale cores. Right now it's enabled by default to make sure we test this a bit. When the time comes it can be disabled by default. Tested on Gateworks boards. A man page is coming. Obtained from: //depot/user/rpaulo/xscalepmc/... --- sys/arm/conf/AVILA | 4 ++++ sys/arm/conf/CAMBRIA | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'sys/arm/conf') diff --git a/sys/arm/conf/AVILA b/sys/arm/conf/AVILA index b477618..b665659 100644 --- a/sys/arm/conf/AVILA +++ b/sys/arm/conf/AVILA @@ -61,6 +61,10 @@ options BOOTP_COMPAT #options PREEMPTION #options VERBOSE_SYSINIT +# Hardware performance counters +options HWPMC_HOOKS +device hwpmc + #device saarm device pci diff --git a/sys/arm/conf/CAMBRIA b/sys/arm/conf/CAMBRIA index 151c6f6..4de9b2c 100644 --- a/sys/arm/conf/CAMBRIA +++ b/sys/arm/conf/CAMBRIA @@ -58,6 +58,10 @@ options BOOTP_NFSV3 options BOOTP_WIRED_TO=npe0 options BOOTP_COMPAT +# Hardware performance counters +options HWPMC_HOOKS +device hwpmc + #options VERBOSE_SYSINIT options VERBOSE_INIT_ARM -- cgit v1.1