Changeset 505dc61 in rtems


Ignore:
Timestamp:
01/08/16 21:28:45 (7 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
5, master
Children:
3267f95
Parents:
6a4efc55
git-author:
Gedare Bloom <gedare@…> (01/08/16 21:28:45)
git-committer:
Gedare Bloom <gedare@…> (03/03/16 21:36:30)
Message:

i386: relocate fatal halt to bsp layer

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    r6a4efc55 r505dc61  
    148148# startup
    149149libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
     150libbsp_a_SOURCES += startup/bsp_fatal_halt.c
    150151libbsp_a_SOURCES += startup/bspgetworkarea.c
    151152libbsp_a_SOURCES += startup/bspidle.S
  • cpukit/score/cpu/i386/rtems/score/cpu.h

    r6a4efc55 r505dc61  
    530530 */
    531531
    532 #define _CPU_Fatal_halt( _source, _error ) \
    533   { \
    534     uint32_t _error_lvalue = ( _error ); \
    535     __asm__ volatile ( "cli ; \
    536                     movl %0,%%eax ; \
    537                     hlt" \
    538                     : "=r" ((_error_lvalue)) : "0" ((_error_lvalue)) \
    539     ); \
    540   }
     532extern void _CPU_Fatal_halt(uint32_t source, uint32_t error)
     533  RTEMS_NO_RETURN;
    541534
    542535#endif /* ASM */
Note: See TracChangeset for help on using the changeset viewer.