refactor config loading
This commit is contained in:
11
inc/mem.h
11
inc/mem.h
@@ -53,6 +53,17 @@ typedef uint32_t io_reg_cell_t;
|
||||
typedef uint32_t io_reg_cell_t;
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint8_t seg_id;
|
||||
char* name;
|
||||
uint8_t word_len;
|
||||
uint64_t default_size;
|
||||
uint64_t default_addr;
|
||||
uint8_t is_executable;
|
||||
} memseg_metadata_t;
|
||||
|
||||
|
||||
|
||||
|
||||
void* default_addr_read_handler(uint64_t ident, uint64_t addr, void* rawCells);
|
||||
|
||||
Reference in New Issue
Block a user