From 13fe461374c0716404e2ee7726781b9cd12dbaa7 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 25 Sep 2021 12:24:24 +0300 Subject: Added default stack location --- arch/riscv/init/head.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/riscv/init/head.S') diff --git a/arch/riscv/init/head.S b/arch/riscv/init/head.S index bbd2945..3589ead 100644 --- a/arch/riscv/init/head.S +++ b/arch/riscv/init/head.S @@ -2,6 +2,6 @@ .global _start .type _start, @function _start: - /* stack pointer is whatever? */ + li sp, PM_STACK_TOP /* go to proper init */ j init -- cgit v1.3