summaryrefslogtreecommitdiffstats
path: root/sys/arm/conf
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2009-12-23 23:16:54 +0000
committerrpaulo <rpaulo@FreeBSD.org>2009-12-23 23:16:54 +0000
commitf7db53a9d138b86810b2eec364678ab67ad0ba30 (patch)
tree1507605c16579edd0e3cdad97219adbea0eb689e /sys/arm/conf
parentd4cee572d1358ddf0158d0bd1caeef07c0304584 (diff)
downloadFreeBSD-src-f7db53a9d138b86810b2eec364678ab67ad0ba30.zip
FreeBSD-src-f7db53a9d138b86810b2eec364678ab67ad0ba30.tar.gz
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/...
Diffstat (limited to 'sys/arm/conf')
-rw-r--r--sys/arm/conf/AVILA4
-rw-r--r--sys/arm/conf/CAMBRIA4
2 files changed, 8 insertions, 0 deletions
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
OpenPOWER on IntegriCloud