tillitis-key/hw/application_fpga/core
Daniel Jobson 2cfd80dd8e
Make sensitive assets only readable/writable before system_mode is set
After the first time system_mode is set to one, the assets will no
longer be read- or writeable, even if system_mode is set to zero at a
later syscall. This is to make sure syscalls does not have the same
privilege as the firmware has at first boot.

We need to monitor when system_mode is set to one, otherwise we might
accedentially lock the assets before actually leaving firmware, for
example if firmware would use a function set in any of the registers
used in system_mode_ctrl.

Co-authored-by: Mikael Ågren <mikael@tillitis.se>
2024-11-21 13:33:02 +01:00
..
clk_reset_gen FPGA: Format verilog code 2024-10-22 12:04:19 +02:00
fw_ram Doc: fix typo of system mode in readme 2024-11-13 14:13:02 +01:00
picorv32 FPGA: Ignore warnings about blocking assignment in clocked processes 2024-06-17 15:37:13 +02:00
ram Doc: move implementation details of RAM scrambling to RAM core 2024-11-20 15:48:49 +01:00
rom Fix typo 2024-11-14 16:35:50 +01:00
timer FPGA: Format verilog code 2024-10-22 12:04:19 +02:00
tk1 Make sensitive assets only readable/writable before system_mode is set 2024-11-21 13:33:02 +01:00
touch_sense FPGA: Format verilog code 2024-10-22 12:04:19 +02:00
trng Change "rosc" references to "trng" 2024-11-14 16:35:51 +01:00
uart FPGA: Format verilog code 2024-10-22 12:04:19 +02:00
uds Harmonize the naming of firmware and app mode. 2024-11-12 15:13:59 +01:00