Enum Register
kernel::process::trapframe
pub enum Register { zero, ra, sp, gp, tp, t0, t1, t2, s0, s1, a0, a1, a2, a3, a4, a5, a6, a7, }
Mapping between register name and trapframe regs array index
regs
zero
ra
sp
gp
tp
t0
t1
t2
s0
s1
a0
a1
a2
a3
a4
a5
a6
a7