comparison m68k_core.h @ 1772:75172d440900 mame_interp

Wrote a version of m68k_invalidate_code_range for interpreter build so that MMAP_PTR_IDX regions can safely get "fast" pointers
author Michael Pavone <pavone@retrodev.com>
date Tue, 12 Mar 2019 21:58:53 -0700
parents 2455662378ed
children 374a5ae694e8
comparison
equal deleted inserted replaced
1771:e59045f781ce 1772:75172d440900
116 void insert_breakpoint(m68k_context * context, uint32_t address, m68k_debug_handler bp_handler); 116 void insert_breakpoint(m68k_context * context, uint32_t address, m68k_debug_handler bp_handler);
117 void remove_breakpoint(m68k_context * context, uint32_t address); 117 void remove_breakpoint(m68k_context * context, uint32_t address);
118 uint32_t get_instruction_start(m68k_options *opts, uint32_t address); 118 uint32_t get_instruction_start(m68k_options *opts, uint32_t address);
119 uint16_t m68k_get_ir(m68k_context *context); 119 uint16_t m68k_get_ir(m68k_context *context);
120 void m68k_print_regs(m68k_context * context); 120 void m68k_print_regs(m68k_context * context);
121 void m68k_invalidate_code_range(m68k_context *context, uint32_t start, uint32_t end);
121 #ifdef USE_NATIVE 122 #ifdef USE_NATIVE
122 m68k_context * m68k_handle_code_write(uint32_t address, m68k_context * context); 123 m68k_context * m68k_handle_code_write(uint32_t address, m68k_context * context);
123 void m68k_invalidate_code_range(m68k_context *context, uint32_t start, uint32_t end);
124 #else 124 #else
125 #define m68k_handle_code_write(A, M) 125 #define m68k_handle_code_write(A, M)
126 #define m68k_invalidate_code_range(M, S, E)
127 #endif 126 #endif
128 void m68k_serialize(m68k_context *context, uint32_t pc, serialize_buffer *buf); 127 void m68k_serialize(m68k_context *context, uint32_t pc, serialize_buffer *buf);
129 void m68k_deserialize(deserialize_buffer *buf, void *vcontext); 128 void m68k_deserialize(deserialize_buffer *buf, void *vcontext);
130 129
131 #endif //M68K_CORE_H_ 130 #endif //M68K_CORE_H_