28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: cpu_m88k.h,v 1.21 2007/06/07 15:36:24 debug Exp $ |
* $Id: cpu_m88k.h,v 1.22 2007/07/20 09:03:33 debug Exp $ |
32 |
*/ |
*/ |
33 |
|
|
34 |
#include "misc.h" |
#include "misc.h" |
37 |
#include "m88k_psl.h" |
#include "m88k_psl.h" |
38 |
|
|
39 |
struct cpu_family; |
struct cpu_family; |
|
struct timer; |
|
40 |
|
|
41 |
/* M88K CPU types: */ |
/* M88K CPU types: */ |
42 |
struct m88k_cpu_type_def { |
struct m88k_cpu_type_def { |
271 |
unsigned char *host_page, int writeflag, uint64_t paddr_page); |
unsigned char *host_page, int writeflag, uint64_t paddr_page); |
272 |
void m88k_invalidate_translation_caches(struct cpu *cpu, uint64_t, int); |
void m88k_invalidate_translation_caches(struct cpu *cpu, uint64_t, int); |
273 |
void m88k_invalidate_code_translation(struct cpu *cpu, uint64_t, int); |
void m88k_invalidate_code_translation(struct cpu *cpu, uint64_t, int); |
|
void m88k_timer_sample_tick(struct timer *, void *); |
|
274 |
int m88k_memory_rw(struct cpu *cpu, struct memory *mem, uint64_t vaddr, |
int m88k_memory_rw(struct cpu *cpu, struct memory *mem, uint64_t vaddr, |
275 |
unsigned char *data, size_t len, int writeflag, int cache_flags); |
unsigned char *data, size_t len, int writeflag, int cache_flags); |
276 |
int m88k_cpu_family_init(struct cpu_family *); |
int m88k_cpu_family_init(struct cpu_family *); |