aboutsummaryrefslogtreecommitdiffstats
path: root/src-riscv/boot.S
blob: d31e5fe1692e9f0c321c709cc9b09a4a48e6b676 (plain)
1
2
3
4
5
6
7
8
9
10
11
        .global _start
        .section .text.init
_start:
        .option push
        .option norelax
        la gp, __global_pointer$
        .option pop
        la sp, _stack_top

        csrr a0, mhartid
        tail main