mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
galileo: Halt if main() returns
This patch adds extra intrunctions to loader.S so we halt if main() returns.
This commit is contained in:
parent
766d3aa820
commit
7a1898f73e
@ -43,3 +43,8 @@
|
||||
start:
|
||||
cli
|
||||
call main
|
||||
|
||||
/* We're not expected to return from main(). But if we do we halt */
|
||||
cli
|
||||
halt: hlt
|
||||
jmp halt
|
||||
|
Loading…
Reference in New Issue
Block a user