#193 closed defect (fixed)

powerpc: -Dmpc604 vs. -Dppc604

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: highest Milestone: 2
Component: bsps Version: unknown
Severity: critical Keywords:
Cc: bugs@…, ralf.corsepius@… Blocked By:
Blocking:

Description

Some files in RTEMS/powerpc use #ifdef ppc604, others use #ifdef mpc604

# find . \( -type f -a -name '*.[chS]' \) -exec grep -H '[mp]pc604' {} \;
./c/src/exec/score/cpu/powerpc/rtems/score/ppc.h:#elif defined(mpc604)
./c/src/exec/score/cpu/powerpc/rtems/score/ppc.h:#elif defined(mpc604)
./c/src/exec/score/cpu/powerpc/rtems/score/cpuModel.h:#elif defined(mpc604)
./c/src/lib/libbsp/powerpc/score603e/startup/spurious.c:#elif defined(ppc604)
./c/src/lib/libbsp/powerpc/ppcn_60x/startup/spurious.c:#elif defined(ppc604)
./c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.c:#elif defined(mpc604)
./c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c:int mpc604_vector_is_valid(rtems_vector vector)
./c/src/lib/libcpu/powerpc/mpc6xx/exceptions/raw_exception.c: if (!mpc604_vector_is_valid(vector)) {

./c/src/libchip/network/dec21140.c:#if defined(PPC) && (defined(mpc604)
defined(mpc750))

However, ppc604 is not recognized by ppc.h.

IMHO, this indicates something is wrong wrt. [mp]pc604 support in RTEMS.

Release:
CVS

Attachments (2)

rtems-rc-20020422-1.diff (721 bytes) - added by Ralf Corsepius on Dec 3, 2006 at 1:31:12 PM.
rtems-rc-20020422-1.diff
rtems-rc-20020422-2.diff (710 bytes) - added by Ralf Corsepius on Dec 3, 2006 at 1:31:12 PM.
rtems-rc-20020422-2.diff

Download all attachments as: .zip

Change History (2)

comment:1 Changed on May 1, 2002 at 9:32:05 PM by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: analyzed->closed
State-Changed-Why: Patches applied.

Changed on Dec 3, 2006 at 1:31:12 PM by Ralf Corsepius

Attachment: rtems-rc-20020422-2.diff added

rtems-rc-20020422-2.diff

Note: See TracTickets for help on using tickets.