aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_pfmon.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-05-25 12:41:29 +0000
committerMike Frysinger <vapier@gentoo.org>2011-05-25 12:41:29 +0000
commitc43aadcaa6c1b7f5c853276b347fd46f67e8ba09 (patch)
tree36230ec348ef2ad558a39fd197d94c93bc4e03b7 /sim/bfin/dv-bfin_pfmon.h
parentdfb61fb66f2df32de3597c140f24f8caa53f8766 (diff)
downloadgdb-c43aadcaa6c1b7f5c853276b347fd46f67e8ba09.zip
gdb-c43aadcaa6c1b7f5c853276b347fd46f67e8ba09.tar.gz
gdb-c43aadcaa6c1b7f5c853276b347fd46f67e8ba09.tar.bz2
sim: bfin: add a performance monitor stub
No counters get updated, but there is enough here for software to poke things and work. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/dv-bfin_pfmon.h')
-rw-r--r--sim/bfin/dv-bfin_pfmon.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sim/bfin/dv-bfin_pfmon.h b/sim/bfin/dv-bfin_pfmon.h
new file mode 100644
index 0000000..27a216e
--- /dev/null
+++ b/sim/bfin/dv-bfin_pfmon.h
@@ -0,0 +1,27 @@
+/* Blackfin Performance Monitor model.
+
+ Copyright (C) 2010-2011 Free Software Foundation, Inc.
+ Contributed by Analog Devices, Inc.
+
+ This file is part of simulators.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+#ifndef DV_BFIN_PFMON_H
+#define DV_BFIN_PFMON_H
+
+#define BFIN_COREMMR_PFMON_BASE 0xFFE08000
+#define BFIN_COREMMR_PFMON_SIZE 0x108
+
+#endif