mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Move CPU core out of RAM. This limits possibilities for self-modifying code hacks, but is cleaner/safer.
This commit is contained in:
parent
941cd141f4
commit
8c11b45670
3 changed files with 12 additions and 15 deletions
|
|
@ -90,7 +90,7 @@ typedef enum {
|
|||
typedef struct {
|
||||
uvm32_status_t status;
|
||||
uvm32_err_t err;
|
||||
struct MiniRV32IMAState* core; // points at end of memory
|
||||
struct MiniRV32IMAState core;
|
||||
uint8_t memory[UVM32_MEMORY_SIZE];
|
||||
uvm32_evt_t ioevt; // for building up in callbacks
|
||||
const uvm32_mapping_t *mappings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue