#86 closed enhancement (fixed)

PPC_USE_SPRG and new_exception_processing

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: normal Milestone: 2
Component: bsps Version: unknown
Severity: minor Keywords:
Cc: bugs@… Blocked By:
Blocking:

Description

Many ppc-BSPs set PPC_USE_SPRG in their *.cfgs.

However, PPC_USE_SPRG is only used a two location inside of the source-tree:
# find c -type f -exec grep -l PPC_USE_SPRG {} \;
c/src/exec/score/cpu/powerpc/shared/ppc.h
c/src/lib/libcpu/powerpc/old_exception_processing/cpu.c
c/src/lib/libcpu/powerpc/old_exception_processing/irq_stub.S

In ppc.h, PPC_USE_SPRG is set depending on mpc8260 being defined. The only BSP to support this cpu (mpc8260ads) currently however uses new_exception_processing.

The other two references to PPC_USE_SPRG are restricted to old_exception_processing.

I.e. using PPC_USE_SPRG in new_exception_processing-based RTEMS's ports is completely meaningless.

Release:
RTEMS CVS

Change History (1)

comment:1 Changed on Nov 14, 2001 at 7:47:03 PM by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Fixed all references to PPC_USE_SPRG for 8260 patch in shared/ppc.h

and *.cfg for new exception processing BSPs:


Index: eth_comm.cfg
Index: mbx860_005b.cfg
Index: mbx8xx.cfg
Index: mcp750.cfg
Index: mpc8260ads.cfg
Index: mvme2307.cfg

Note: See TracTickets for help on using tickets.