diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-10-04 18:30:24 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-10-04 18:30:24 -0700 |
commit | 1b5d64873657d3a36c1d67c8006d22715140926c (patch) | |
tree | 66bf537b3d91d8296477d71bbf0c296f8e216242 /backend.h | |
parent | 1c0867451c135eb31f3bbda0235f4326c3aa1043 (diff) |
Add a new memory map flag to support an auxilliary buffer for translating code from MMAP_PTR_IDX chunks for which the pointer is null
Diffstat (limited to 'backend.h')
-rw-r--r-- | backend.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -55,6 +55,7 @@ typedef enum { #define MMAP_ONLY_EVEN 0x20 #define MMAP_FUNC_NULL 0x40 #define MMAP_BYTESWAP 0x80 +#define MMAP_AUX_BUFF 0x100 typedef uint16_t (*read_16_fun)(uint32_t address, void * context); typedef uint8_t (*read_8_fun)(uint32_t address, void * context); @@ -65,6 +66,7 @@ typedef struct { uint32_t start; uint32_t end; uint32_t mask; + uint32_t aux_mask; uint16_t ptr_index; uint16_t flags; void * buffer; |