Ignore:
Timestamp:
May 19, 2014, 3:27:55 PM (8 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, 5, master
Children:
9bd7b3b1
Parents:
dfc2786d
git-author:
Daniel Hellstrom <daniel@…> (05/19/14 15:27:55)
git-committer:
Daniel Hellstrom <daniel@…> (10/06/14 07:34:24)
Message:

SPARC: add BSP specific error handler

Instead of calling the system call TA instruction directly it
is better paractise to isolate the trap implementation to the
system call functions.

BSP_fatal_exit() is added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/start/start.S

    rdfc2786d rce4a7ae  
    369369        PUBLIC(bsp_reset)
    370370SYM(bsp_reset):
    371         mov     1, %g1
    372         ta      0                       ! Halt if _main returns ...
    373         nop
     371        call    SYM(BSP_fatal_exit)
     372         clr     %o0
    374373#endif
    375374
Note: See TracChangeset for help on using the changeset viewer.