25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: cpu_m68k.c,v 1.16 2006/12/30 13:30:54 debug Exp $ |
* $Id: cpu_m68k.c,v 1.18 2007/03/26 02:16:09 debug Exp $ |
29 |
* |
* |
30 |
* Motorola 68K CPU emulation. |
* Motorola 68K CPU emulation. |
31 |
*/ |
*/ |
193 |
} |
} |
194 |
|
|
195 |
|
|
|
/* |
|
|
* 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) |
|
|
{ |
|
|
fatal("m68k_cpu_interrupt(): TODO\n"); |
|
|
return 0; |
|
|
} |
|
|
|
|
|
|
|
|
/* |
|
|
* m68k_cpu_interrupt_ack(): |
|
|
*/ |
|
|
int m68k_cpu_interrupt_ack(struct cpu *cpu, uint64_t irq_nr) |
|
|
{ |
|
|
/* fatal("m68k_cpu_interrupt_ack(): TODO\n"); */ |
|
|
return 0; |
|
|
} |
|
|
|
|
|
|
|
196 |
/* Helper functions: */ |
/* Helper functions: */ |
197 |
static void print_two(unsigned char *instr, int *len) |
static void print_two(unsigned char *instr, int *len) |
198 |
{ debug(" %02x%02x", instr[*len], instr[*len+1]); (*len) += 2; } |
{ debug(" %02x%02x", instr[*len], instr[*len+1]); (*len) += 2; } |