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.
This commit is contained in:
Joel Sherrill
2000-10-19 15:32:20 +00:00
parent 75e8e04a19
commit e090b7e5de
7 changed files with 45 additions and 15 deletions

View File

@@ -1,3 +1,8 @@
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.
2000-10-12 John S Gwynne <jgwynne@mrcday.com> 2000-10-12 John S Gwynne <jgwynne@mrcday.com>
* sim.h: These changes enable RTEMS to automatically generate * sim.h: These changes enable RTEMS to automatically generate

View File

@@ -277,7 +277,7 @@ typedef struct {
typedef struct m302_SCC_bd { typedef struct m302_SCC_bd {
rtems_unsigned16 status; /* status and control */ rtems_unsigned16 status; /* status and control */
rtems_unsigned16 length; /* data length */ rtems_unsigned16 length; /* data length */
rtems_unsigned8 *buffer; /* data buffer pointer */ volatile rtems_unsigned8 *buffer; /* data buffer pointer */
} m302_SCC_bd_t; } m302_SCC_bd_t;
typedef struct { typedef struct {

View File

@@ -165,14 +165,24 @@ typedef struct {
#endif #endif
/* /*
* The following structure defines the set of information saved * The following structures define the set of information saved
* on the current stack by RTEMS upon receipt of each interrupt. * 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 { typedef struct {
unsigned32 TBD; /* XXX Fix for this CPU */ unsigned32 vecnum; /* vector number */
} CPU_Interrupt_frame; } 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 following table contains the information required to configure
* the m68k specific parameters. * the m68k specific parameters.

View File

@@ -1,3 +1,8 @@
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.
2000-10-12 John S Gwynne <jgwynne@mrcday.com> 2000-10-12 John S Gwynne <jgwynne@mrcday.com>
* sim.h: These changes enable RTEMS to automatically generate * sim.h: These changes enable RTEMS to automatically generate

View File

@@ -277,7 +277,7 @@ typedef struct {
typedef struct m302_SCC_bd { typedef struct m302_SCC_bd {
rtems_unsigned16 status; /* status and control */ rtems_unsigned16 status; /* status and control */
rtems_unsigned16 length; /* data length */ rtems_unsigned16 length; /* data length */
rtems_unsigned8 *buffer; /* data buffer pointer */ volatile rtems_unsigned8 *buffer; /* data buffer pointer */
} m302_SCC_bd_t; } m302_SCC_bd_t;
typedef struct { typedef struct {

View File

@@ -277,7 +277,7 @@ typedef struct {
typedef struct m302_SCC_bd { typedef struct m302_SCC_bd {
rtems_unsigned16 status; /* status and control */ rtems_unsigned16 status; /* status and control */
rtems_unsigned16 length; /* data length */ rtems_unsigned16 length; /* data length */
rtems_unsigned8 *buffer; /* data buffer pointer */ volatile rtems_unsigned8 *buffer; /* data buffer pointer */
} m302_SCC_bd_t; } m302_SCC_bd_t;
typedef struct { typedef struct {

View File

@@ -165,14 +165,24 @@ typedef struct {
#endif #endif
/* /*
* The following structure defines the set of information saved * The following structures define the set of information saved
* on the current stack by RTEMS upon receipt of each interrupt. * 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 { typedef struct {
unsigned32 TBD; /* XXX Fix for this CPU */ unsigned32 vecnum; /* vector number */
} CPU_Interrupt_frame; } 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 following table contains the information required to configure
* the m68k specific parameters. * the m68k specific parameters.