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>
* sim.h: These changes enable RTEMS to automatically generate

View File

@@ -275,9 +275,9 @@ typedef struct {
* Section 4.5.5
*/
typedef struct m302_SCC_bd {
rtems_unsigned16 status; /* status and control */
rtems_unsigned16 length; /* data length */
rtems_unsigned8 *buffer; /* data buffer pointer */
rtems_unsigned16 status; /* status and control */
rtems_unsigned16 length; /* data length */
volatile rtems_unsigned8 *buffer; /* data buffer pointer */
} m302_SCC_bd_t;
typedef struct {

View File

@@ -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.

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>
* sim.h: These changes enable RTEMS to automatically generate

View File

@@ -275,9 +275,9 @@ typedef struct {
* Section 4.5.5
*/
typedef struct m302_SCC_bd {
rtems_unsigned16 status; /* status and control */
rtems_unsigned16 length; /* data length */
rtems_unsigned8 *buffer; /* data buffer pointer */
rtems_unsigned16 status; /* status and control */
rtems_unsigned16 length; /* data length */
volatile rtems_unsigned8 *buffer; /* data buffer pointer */
} m302_SCC_bd_t;
typedef struct {

View File

@@ -275,9 +275,9 @@ typedef struct {
* Section 4.5.5
*/
typedef struct m302_SCC_bd {
rtems_unsigned16 status; /* status and control */
rtems_unsigned16 length; /* data length */
rtems_unsigned8 *buffer; /* data buffer pointer */
rtems_unsigned16 status; /* status and control */
rtems_unsigned16 length; /* data length */
volatile rtems_unsigned8 *buffer; /* data buffer pointer */
} m302_SCC_bd_t;
typedef struct {

View File

@@ -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.