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:
Till Straumann
2011-07-28 19:20:09 +00:00
parent 0bd3f7e5d1
commit b4fdfc6093
2 changed files with 54 additions and 46 deletions

View File

@@ -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.

View File

@@ -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 */