aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/dv-bfin_pint.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-09 06:13:06 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-09 06:13:06 +0000
commit050396e533308f4d1c6ed55105a81eff1f402b9f (patch)
treed1d82eda34bf9c33bedadf6fb1e39a11033a1657 /sim/bfin/dv-bfin_pint.h
parent07c5891d6c3870428a93b48b19b81d9ae5482059 (diff)
downloadgdb-050396e533308f4d1c6ed55105a81eff1f402b9f.zip
gdb-050396e533308f4d1c6ed55105a81eff1f402b9f.tar.gz
gdb-050396e533308f4d1c6ed55105a81eff1f402b9f.tar.bz2
sim: bfin: new PINT model
Newer BF54x parts feature an updated GPIO block where all the interrupt handling is split off, so create a new model for the pin interrupts. This is missing the port forwarding aspects, but at least the register interface should be there. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/dv-bfin_pint.h')
-rw-r--r--sim/bfin/dv-bfin_pint.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/sim/bfin/dv-bfin_pint.h b/sim/bfin/dv-bfin_pint.h
new file mode 100644
index 0000000..4966d12
--- /dev/null
+++ b/sim/bfin/dv-bfin_pint.h
@@ -0,0 +1,24 @@
+/* Blackfin Pin Interrupt (PINT) model
+
+ Copyright (C) 2010-2012 Free Software Foundation, Inc.
+ Contributed by Analog Devices, Inc. and Mike Frysinger.
+
+ 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_PINT_H
+#define DV_BFIN_PINT_H
+
+#endif