forked from Imagelibrary/rtems
2011-27-28 Till Straumann <strauman@slac.stanford.edu>
* start/start.S: fixed indentation. Tag TOS with a NULL pointer (help terminate when walking the stack).
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-27-28 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* start/start.S: fixed indentation. Tag TOS with a NULL
|
||||
pointer (help terminate when walking the stack).
|
||||
|
||||
2011-06-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* Makefile.am: Added custom memcpy(). Update for network sources.
|
||||
|
||||
@@ -464,6 +464,9 @@ skip_ROM_start:
|
||||
/* set stack pointer (common for RAM/ROM startup) */
|
||||
LA r1, bsp_section_text_start
|
||||
addi r1, r1, -0x10 /* Set up stack pointer = beginning of text section - 0x10 */
|
||||
/* tag TOS with a NULL pointer (termination mark for stack dump) */
|
||||
li r0, 0
|
||||
stw r0, 0(r1)
|
||||
|
||||
bl __eabi /* Set up EABI and SYSV environment */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user