[rtems commit] bsp/riscv: Clear boot command line

Sebastian Huber sebh at rtems.org
Tue Jan 8 13:46:05 UTC 2019


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jan  8 14:43:02 2019 +0100

bsp/riscv: Clear boot command line

---

 bsps/riscv/riscv/start/start.S | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bsps/riscv/riscv/start/start.S b/bsps/riscv/riscv/start/start.S
index 8b2575e..a8ff1b0 100644
--- a/bsps/riscv/riscv/start/start.S
+++ b/bsps/riscv/riscv/start/start.S
@@ -92,6 +92,7 @@ SYM(_start):
 	amoswap.w	zero, zero, 0(t0)
 #endif
 
+	li	a0, 0
 	j	boot_card
 
 #ifdef RTEMS_SMP




More information about the vc mailing list