aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/init/head.S
blob: 703d265776930f44ff5eee2b9af00a07b6ee0d51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
.section .init.start
.global _start
.type _start, @function
_start:
	/* store kernel load address */
	auipc a4, 0
	/* stack grows downward */
	mv sp, a4
	/* go to proper init */
	j init