Changeset 0facefc in rtems


Ignore:
Timestamp:
Sep 10, 2014, 1:08:52 PM (6 years ago)
Author:
Hesham ALMatary <heshamelmatary@…>
Branches:
4.11, 5, master
Children:
ecf64a5e
Parents:
e09f8b08
git-author:
Hesham ALMatary <heshamelmatary@…> (09/10/14 13:08:52)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/10/14 13:10:41)
Message:

or1k: Let CPU/BSP Fatal handler have access to source

This patchs follows the latest commit by Daniel Hellstrom that
requires _CPU_Fatal_halt to have _source passed to it along with
_error number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/or1k/rtems/score/cpu.h

    re09f8b08 r0facefc  
    722722 */
    723723
    724 #define _CPU_Fatal_halt( _error ) \
    725         printk("Fatal Error %d Halted\n",_error); \
     724#define _CPU_Fatal_halt(_source, _error ) \
     725        printk("Fatal Error %d.%d Halted\n",_source, _error); \
    726726        for(;;)
    727727
Note: See TracChangeset for help on using the changeset viewer.