mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2005-02-14 Ralf Corsepius <ralf.corsepius@rtems.org>
* cpu.c (ppc_exception_vector_addr): Merge ppc603 and ppc603e cases.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2005-02-14 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* cpu.c (ppc_exception_vector_addr): Merge ppc603 and ppc603e cases.
|
||||||
|
|
||||||
2005-02-14 Ralf Corsepius <ralf.corsepius@rtems.org>
|
2005-02-14 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* cpu.c, cpu_asm.S, irq_stub.S: #include <rtems/powerpc/powerpc.h>.
|
* cpu.c, cpu_asm.S, irq_stub.S: #include <rtems/powerpc/powerpc.h>.
|
||||||
|
|||||||
@@ -623,7 +623,7 @@ uint32_t ppc_exception_vector_addr(
|
|||||||
Offset = 0x02000;
|
Offset = 0x02000;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#elif defined(ppc603)
|
#elif defined(ppc603) || defined(ppc603e)
|
||||||
case PPC_IRQ_TRANS_MISS:
|
case PPC_IRQ_TRANS_MISS:
|
||||||
Offset = 0x1000;
|
Offset = 0x1000;
|
||||||
break;
|
break;
|
||||||
@@ -640,23 +640,6 @@ uint32_t ppc_exception_vector_addr(
|
|||||||
Offset = 0x1400;
|
Offset = 0x1400;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#elif defined(ppc603e)
|
|
||||||
case PPC_TLB_INST_MISS:
|
|
||||||
Offset = 0x1000;
|
|
||||||
break;
|
|
||||||
case PPC_TLB_LOAD_MISS:
|
|
||||||
Offset = 0x1100;
|
|
||||||
break;
|
|
||||||
case PPC_TLB_STORE_MISS:
|
|
||||||
Offset = 0x1200;
|
|
||||||
break;
|
|
||||||
case PPC_IRQ_ADDRBRK:
|
|
||||||
Offset = 0x1300;
|
|
||||||
break;
|
|
||||||
case PPC_IRQ_SYS_MGT:
|
|
||||||
Offset = 0x1400;
|
|
||||||
break;
|
|
||||||
|
|
||||||
#elif defined(mpc604)
|
#elif defined(mpc604)
|
||||||
case PPC_IRQ_ADDR_BRK:
|
case PPC_IRQ_ADDR_BRK:
|
||||||
Offset = 0x1300;
|
Offset = 0x1300;
|
||||||
|
|||||||
Reference in New Issue
Block a user