Changeset adc1dbeb in rtems


Ignore:
Timestamp:
Dec 4, 2014, 2:15:52 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
d78eac6
Parents:
dff1803
git-author:
Sebastian Huber <sebastian.huber@…> (12/04/14 14:15:52)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/04/14 14:16:26)
Message:

bsp/leon3: Fix trap table initialization

Fixes bug introduced with dff1803cfbec3775fff1b9c34cc707c05494dc3b.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon3/startup/spurious.c

    rdff1803 radc1dbeb  
    156156        (( trap >= 0x11 ) && ( trap <= 0x1f )) ||
    157157        (( trap >= 0x70 ) && ( trap <= 0x83 )) ||
    158         ( trap == SPARC_SWTRAP_IRQDIS ) || ( trap == SPARC_SWTRAP_IRQEN ))
     158        ( trap == 0x80 + SPARC_SWTRAP_IRQDIS ) ||
     159        ( trap == 0x80 + SPARC_SWTRAP_IRQEN ))
    159160      continue;
    160161
Note: See TracChangeset for help on using the changeset viewer.