mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-03-13 02:26:49 -04:00

Adds: - SYSCALL_RESET - SYSCALL_SET_LED Co-authored-by: Michael Cardell Widerkrantz <mc@tillitis.se>
13 lines
213 B
ArmAsm
13 lines
213 B
ArmAsm
#include "../tk1/picorv32/custom_ops.S"
|
|
|
|
.section ".text"
|
|
.globl syscall_enable
|
|
|
|
|
|
syscall_enable:
|
|
/* Enable syscall IRQ */
|
|
li t0, 0x7fffffff // IRQ31 mask
|
|
picorv32_maskirq_insn(zero, t0) // Enable IRQs
|
|
|
|
ret
|