From 67b7c359a5a73f01eeba37af2d5fbae1027b4a7a Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 28 Dec 2016 20:39:27 -0800 Subject: Remove memory map assumptions from Z80 core and move a little bit of logic to the generic backend.c so it can be shared between CPU cores --- backend.h | 1 + 1 file changed, 1 insertion(+) (limited to 'backend.h') diff --git a/backend.h b/backend.h index 89e5e2e..ae80846 100644 --- a/backend.h +++ b/backend.h @@ -122,6 +122,7 @@ void log_address(cpu_options *opts, uint32_t address, char * format); code_ptr gen_mem_fun(cpu_options * opts, memmap_chunk const * memmap, uint32_t num_chunks, ftype fun_type, code_ptr *after_inc); void * get_native_pointer(uint32_t address, void ** mem_pointers, cpu_options * opts); +memmap_chunk const *find_map_chunk(uint32_t address, cpu_options *opts, uint16_t flags, uint32_t *size_sum); uint32_t chunk_size(cpu_options *opts, memmap_chunk const *chunk); uint32_t ram_size(cpu_options *opts); -- cgit v1.2.3