aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/machs.c
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/machs.c
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/machs.c')
-rw-r--r--sim/bfin/machs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/bfin/machs.c b/sim/bfin/machs.c
index 4a012bf..e893523 100644
--- a/sim/bfin/machs.c
+++ b/sim/bfin/machs.c
@@ -42,6 +42,7 @@
#include "dv-bfin_mmu.h"
#include "dv-bfin_nfc.h"
#include "dv-bfin_otp.h"
+#include "dv-bfin_pfmon.h"
#include "dv-bfin_pll.h"
#include "dv-bfin_ppi.h"
#include "dv-bfin_rtc.h"
@@ -746,6 +747,7 @@ static const struct bfin_dev_layout bfin_core_dev[] =
CORE_DEVICE (evt, EVT),
CORE_DEVICE (jtag, JTAG),
CORE_DEVICE (mmu, MMU),
+ CORE_DEVICE (pfmon, PFMON),
CORE_DEVICE (trace, TRACE),
CORE_DEVICE (wp, WP),
};