mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
Corrected mpc505/mpc509 support based on patch from Wilfried Busalski
<fue@lancier.de>.
This commit is contained in:
@@ -129,7 +129,7 @@ extern "C" {
|
||||
#define PPC_ALIGNMENT 4
|
||||
#define PPC_CACHE_ALIGNMENT 16
|
||||
#define PPC_I_CACHE 4096
|
||||
#define PPC_I_CACHE 0
|
||||
#define PPC_D_CACHE 0
|
||||
|
||||
|
||||
#elif defined(ppc601)
|
||||
@@ -451,6 +451,13 @@ extern "C" {
|
||||
#define PPC_IRQ_DEBUG (PPC_STD_IRQ_LAST+4) /*0x02000- Debug exceptions */
|
||||
#define PPC_IRQ_LAST PPC_IRQ_DEBUG
|
||||
|
||||
#elif defined(mpc505) || defined(mpc509)
|
||||
#define PPC_IRQ_SOFTEMU (PPC_STD_IRQ_LAST+1) /* Software emulation. */
|
||||
#define PPC_IRQ_DATA_BP (PPC_STD_IRQ_LAST+ 2)
|
||||
#define PPC_IRQ_INST_BP (PPC_STD_IRQ_LAST+ 3)
|
||||
#define PPC_IRQ_MEXT_BP (PPC_STD_IRQ_LAST+ 4)
|
||||
#define PPC_IRQ_NMEXT_BP (PPC_STD_IRQ_LAST+ 5)
|
||||
|
||||
#elif defined(ppc601)
|
||||
#define PPC_IRQ_TRACE (PPC_STD_IRQ_LAST+1) /*0x02000-Run/Trace Exception*/
|
||||
#define PPC_IRQ_LAST PPC_IRQ_TRACE
|
||||
|
||||
Reference in New Issue
Block a user