[rtems commit] bsp/mpc55xx: Documentation

Sebastian Huber sebh at rtems.org
Mon Dec 3 12:14:53 UTC 2012


Module:    rtems
Branch:    master
Commit:    1c479be447d1e79c9437c40030ad53a533fcde49
Changeset: http://git.rtems.org/rtems/commit/?id=1c479be447d1e79c9437c40030ad53a533fcde49

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Nov 16 10:06:07 2012 +0100

bsp/mpc55xx: Documentation

---

 .../lib/libbsp/powerpc/mpc55xxevb/startup/start.S  |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start.S b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start.S
index 1ead655..77c9d84 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start.S
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/start.S
@@ -221,7 +221,10 @@ zero_intermediate_stack_loop:
 	li	r0, 0
 	stw	r0, 0(r1)
 
-	/* Load sections */
+	/*
+	 * Load sections.  This must be performed after the stack switch
+	 * because it may overwrite the initial stack.
+	 */
 	LA	r3, bsp_section_fast_text_begin
 	LA	r4, bsp_section_fast_text_load_begin
 	LA	r5, bsp_section_fast_text_size




More information about the vc mailing list