mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-18 19:27:59 -04:00
Add API for syscall
Add a register to store an address to a syscall function defined in firmware. Set the reset value to an illegal address, to make sure a call to an unset address will halt the CPU. Co-authored-by: Mikael Ågren <mikael@tillitis.se>
This commit is contained in:
parent
07dec8b8dc
commit
31708a39d3
2 changed files with 25 additions and 0 deletions
|
@ -125,6 +125,7 @@
|
|||
#define TK1_MMIO_TK1_APP_SIZE 0xff000034
|
||||
|
||||
#define TK1_MMIO_TK1_BLAKE2S 0xff000040
|
||||
#define TK1_MMIO_TK1_SYSCALL 0xff000048
|
||||
|
||||
#define TK1_MMIO_TK1_CDI_FIRST 0xff000080
|
||||
#define TK1_MMIO_TK1_CDI_LAST 0xff00009c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue