summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m68k/rtems/score/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-19 15:32:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-19 15:32:20 +0000
commite090b7e5de70b36e9d9a7793161d3c34d908279a (patch)
treed13271a3e680c71acac97f466b92284ca25bfc71 /cpukit/score/cpu/m68k/rtems/score/cpu.h
parent2000-10-18 Charles-Antoine Gauthier <charles.gauthier@nrc.ca> (diff)
downloadrtems-e090b7e5de70b36e9d9a7793161d3c34d908279a.tar.bz2
2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>
* rtems/score/cpu.h: define CPU_Exception_frame for rdbg. * m68302.h: Make buffer pointer in m302_SCC_bd volatile.
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/m68k/rtems/score/cpu.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/cpukit/score/cpu/m68k/rtems/score/cpu.h b/cpukit/score/cpu/m68k/rtems/score/cpu.h
index a9a152cd2e..2353332620 100644
--- a/cpukit/score/cpu/m68k/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m68k/rtems/score/cpu.h
@@ -165,14 +165,24 @@ typedef struct {
#endif
/*
- * The following structure defines the set of information saved
- * on the current stack by RTEMS upon receipt of each interrupt.
+ * The following structures define the set of information saved
+ * on the current stack by RTEMS upon receipt of each exc/interrupt.
+ * These are not used by m68k handlers.
+ * The exception frame is for rdbg.
*/
typedef struct {
- unsigned32 TBD; /* XXX Fix for this CPU */
+ unsigned32 vecnum; /* vector number */
} CPU_Interrupt_frame;
+typedef struct {
+ unsigned32 vecnum; /* vector number */
+ unsigned32 sr; /* status register */
+ unsigned32 pc; /* program counter */
+ unsigned32 d0, d1, d2, d3, d4, d5, d6, d7;
+ unsigned32 a0, a1, a2, a3, a4, a5, a6, a7;
+} CPU_Exception_frame;
+
/*
* The following table contains the information required to configure
* the m68k specific parameters.