aboutsummaryrefslogtreecommitdiff
path: root/sim/msp430/msp430-sim.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-06-21 10:59:14 +0000
committerNick Clifton <nickc@redhat.com>2013-06-21 10:59:14 +0000
commit3346cfda88e8a4351e9b11c663e365bcf9721ff2 (patch)
tree9d928f44a2929ace3c34bf83a7efc9b3f172d894 /sim/msp430/msp430-sim.h
parent87f0aee73d487014b8e265b0ccb50bf6d7b668f6 (diff)
downloadfsf-binutils-gdb-3346cfda88e8a4351e9b11c663e365bcf9721ff2.zip
fsf-binutils-gdb-3346cfda88e8a4351e9b11c663e365bcf9721ff2.tar.gz
fsf-binutils-gdb-3346cfda88e8a4351e9b11c663e365bcf9721ff2.tar.bz2
* msp430: New Directory.
* configure.tgt: Add it. * configure: Regenerate. * gennltvals.sh: Add msp430 support. * nltvals.def: Regenerate. * Makefile.in: New. * aclocal.m4: Generate. * config.in: Generate. * configure.ac: New. * configure: Generate. * msp430-sim.c: New. * msp430-sim.h: New. * sim-main.h: New. * trace.c: New. * trace.h: New.
Diffstat (limited to 'sim/msp430/msp430-sim.h')
-rw-r--r--sim/msp430/msp430-sim.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/sim/msp430/msp430-sim.h b/sim/msp430/msp430-sim.h
new file mode 100644
index 0000000..cc7e7ab
--- /dev/null
+++ b/sim/msp430/msp430-sim.h
@@ -0,0 +1,31 @@
+/* Simulator for TI MSP430 and MSP430x processors.
+
+ Copyright (C) 2012-2013 Free Software Foundation, Inc.
+ Contributed by Red Hat, 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 _MSP430_SIM_H_
+#define _MSP430_SIM_H_
+
+struct msp430_cpu_state
+{
+ int regs[16];
+ int cio_breakpoint;
+ int cio_buffer;
+};
+
+#endif