Add complete checks for invalid memory accesses

Also fix two typos for memory ranges that fortunately
have no impact on functionality.
This commit is contained in:
Jonas Thörnblad 2024-12-20 10:38:17 +01:00
parent 66888a3756
commit f2a3d8b23c
No known key found for this signature in database
GPG key ID: 2D318AD00A326F95
7 changed files with 71 additions and 9 deletions

View file

@ -82,8 +82,8 @@
#define TK1_MMIO_TIMER_TIMER 0xc100002c
#define TK1_MMIO_UDS_BASE 0xc2000000
#define TK1_MMIO_UDS_FIRST 0xc2000040
#define TK1_MMIO_UDS_LAST 0xc200005c
#define TK1_MMIO_UDS_FIRST 0xc2000000
#define TK1_MMIO_UDS_LAST 0xc200001c
#define TK1_MMIO_UART_BASE 0xc3000000
#define TK1_MMIO_UART_RX_STATUS 0xc3000080