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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.