Changeset e6386f7 in rtems


Ignore:
Timestamp:
Oct 15, 2014, 2:31:03 PM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
38f7c78
Parents:
85c533b
git-author:
Joel Sherrill <joel.sherrill@…> (10/15/14 14:31:03)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/15/14 14:33:16)
Message:

h8300/h8sim: Exit simulator cleanly

Location:
c/src/lib/libbsp/h8300/h8sim
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/h8300/h8sim/Makefile.am

    r85c533b re6386f7  
    2727
    2828# startup
    29 libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bsplibc.c \
    30     ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
    31     ../../shared/bspgetworkarea.c ../../shared/bsppost.c \
    32     ../../shared/bspstart.c startup/h8bdinstallirq.c \
    33     ../../shared/bootcard.c ../../shared/sbrk.c \
    34     ../../shared/gnatinstallhandler.c startup/__main.c
     29libbsp_a_SOURCES += ../../shared/bspclean.c
     30libbsp_a_SOURCES += ../../shared/bsplibc.c
     31libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
     32libbsp_a_SOURCES += ../../shared/bsppretaskinghook.c
     33libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
     34libbsp_a_SOURCES += ../../shared/bsppost.c
     35libbsp_a_SOURCES += ../../shared/bspstart.c
     36libbsp_a_SOURCES += startup/h8bdinstallirq.c
     37libbsp_a_SOURCES += ../../shared/bootcard.c
     38libbsp_a_SOURCES += ../../shared/sbrk.c
     39libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
     40
    3541# clock
    3642libbsp_a_SOURCES += ../../shared/clock_driver_simidle.c
    3743# console
    38 libbsp_a_SOURCES += ../../shared/console-polled.c console/console-io.c \
    39    console/syscalls.S
     44libbsp_a_SOURCES += ../../shared/console-polled.c
     45libbsp_a_SOURCES += console/console-io.c
     46libbsp_a_SOURCES += console/syscalls.S
    4047# timer
    4148libbsp_a_SOURCES += ../../shared/timerstub.c
  • c/src/lib/libbsp/h8300/h8sim/configure.ac

    r85c533b re6386f7  
    1414RTEMS_PROG_CCAS
    1515
    16 RTEMS_BSP_CLEANUP_OPTIONS(0, 0)
     16RTEMS_BSP_CLEANUP_OPTIONS(0, 1, 0)
    1717
    1818# Explicitly list all Makefiles here
  • c/src/lib/libbsp/h8300/h8sim/start/start.S

    r85c533b re6386f7  
    1414        cmp     r1,r0
    1515        blo     .loop
    16         ;       call __main
    1716        mov.w   #0,r0           ; pass in NULL
    1817        jsr     @_boot_card
     18        .global _bsp_reset
     19_bsp_reset:
    1920        mov.w   #0,r0           ; indicate reason to exit
    2021        sleep
     
    3839        cmp.l   er1,er0
    3940        blo     .loop
    40         ;       call __main
    4141        jsr     @_boot_card
     42        .global _bsp_reset
     43_bsp_reset:
    4244        mov.w   #0,r0           ; indicate reason to exit
    4345        sleep
Note: See TracChangeset for help on using the changeset viewer.