47 # initialize status, enable fp, accelerator, interrupts
48 li a0, SR_S | SR_PEI | SR_EF | SR_EA
52 li a0, SR_U64 | SR_S64
60 ## if that didn't stick, we don't have a FPU, so don't initialize it
105 # get core id and number of cores
109 # give each core 128KB of stack + TLS
117 # offset thread pointer by thread pointer bias
118 lui t0, %tprel_hi(tls_start)
119 add t0, t0, tp, %tprel_add(tls_start)
120 add t0, t0, %tprel_lo(tls_start)