Changeset 17408b90 in rtems for make/custom/gen68360.cfg


Ignore:
Timestamp:
Sep 30, 1998, 1:02:30 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9dd23877
Parents:
982ed3f8
Message:

Patch from Eric Norum <eric@…>:

I found that my 68040/68360 test programs would not run even after
I fixed the `wrong BSP' problem.

It seems that there's a bug in the interrupt handling code for
processors with hardware interrupt stacks (e.g. 68040). The wrong
status register was getting pushed on the stack for the `return
from exception' to call _ISRDispatch. This ended up making
the context switch code run on the interrupt stack, so interrupt-driven
context switches would always fail.

I guess that no one has tried running any of the RTEMS-4.0 snapshots
on a 68040 machine!

Anyhow, here are the patches for

1) gen68360.cfg --- to fix the `wrong-BSP' problem.
2) m68k/cpu_asm.s --- to fix the hardware interrupt stack problem.

With these patches in place, the network demo programs run on my
68040/68360 system. The paranoia program runs with no failures,
defects nor flaws.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/custom/gen68360.cfg

    r982ed3f8 r17408b90  
    1919# This is the actual bsp directory used during the build process.
    2020RTEMS_BSP_FAMILY=gen68360
    21 
    22 ## Target compiler config file, if any
    23 CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
    24 
    25 # We may install in a CPU model based directory but this is still
    26 # a gen68360 based bsp.
    27 RTEMS_BSP=gen68360
    2821
    2922#
Note: See TracChangeset for help on using the changeset viewer.