--- trunk/src/cpus/cpu_m68k.c 2007/10/08 16:19:23 20 +++ trunk/src/cpus/cpu_m68k.c 2007/10/08 16:19:56 24 @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005 Anders Gavare. All rights reserved. + * Copyright (C) 2005-2006 Anders Gavare. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * - * $Id: cpu_m68k.c,v 1.5 2005/11/13 00:14:07 debug Exp $ + * $Id: cpu_m68k.c,v 1.10 2006/06/16 18:31:25 debug Exp $ * * Motorola 68K CPU emulation. */ @@ -153,6 +153,33 @@ /* + * m68k_cpu_tlbdump(): + * + * Called from the debugger to dump the TLB in a readable format. + * x is the cpu number to dump, or -1 to dump all CPUs. + * + * If rawflag is nonzero, then the TLB contents isn't formated nicely, + * just dumped. + */ +void m68k_cpu_tlbdump(struct machine *m, int x, int rawflag) +{ +} + + +/* + * m68k_cpu_gdb_stub(): + * + * Execute a "remote GDB" command. Returns a newly allocated response string + * on success, NULL on failure. + */ +char *m68k_cpu_gdb_stub(struct cpu *cpu, char *cmd) +{ + fatal("m68k_cpu_gdb_stub(): TODO\n"); + return NULL; +} + + +/* * m68k_cpu_interrupt(): */ int m68k_cpu_interrupt(struct cpu *cpu, uint64_t irq_nr) @@ -192,7 +219,7 @@ * cpu->pc for relative addresses. */ int m68k_cpu_disassemble_instr(struct cpu *cpu, unsigned char *ib, - int running, uint64_t dumpaddr, int bintrans) + int running, uint64_t dumpaddr) { uint64_t offset; int len = 0;