mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-17 19:02:15 -04:00
Introduce syscalls to change preloaded app
Introduce syscalls: - TK1_SYSCALL_PRELOAD_STORE - TK1_SYSCALL_PRELOAD_STORE_FIN - TK1_SYSCALL_PRELOAD_DELETE - TK1_SYSCALL_REG_MGMT = 11 Change preload_store_finalize() not to take USS arg. Unused for preloaded apps.
This commit is contained in:
parent
970668a47b
commit
dd147657a4
4 changed files with 28 additions and 7 deletions
|
@ -14,8 +14,7 @@ bool preload_check_valid_app(struct partition_table *part_table,
|
|||
int preload_load(struct partition_table *part_table, uint8_t from_slot);
|
||||
int preload_store(struct partition_table *part_table, uint32_t offset,
|
||||
uint8_t *data, size_t size, uint8_t to_slot);
|
||||
int preload_store_finalize(struct partition_table *part_table, bool use_uss,
|
||||
uint8_t *uss, size_t app_size, uint8_t to_slot);
|
||||
int preload_store_finalize(struct partition_table *part_table, size_t app_size, uint8_t to_slot);
|
||||
int preload_delete(struct partition_table *part_table, uint8_t slot);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue