/[gxemul]/trunk/src/cpus/cpu_m68k.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/cpus/cpu_m68k.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by dpavlin, Mon Oct 8 16:19:23 2007 UTC revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   *  Copyright (C) 2005  Anders Gavare.  All rights reserved.   *  Copyright (C) 2005-2006  Anders Gavare.  All rights reserved.
3   *   *
4   *  Redistribution and use in source and binary forms, with or without   *  Redistribution and use in source and binary forms, with or without
5   *  modification, are permitted provided that the following conditions are met:   *  modification, are permitted provided that the following conditions are met:
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $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 $
29   *   *
30   *  Motorola 68K CPU emulation.   *  Motorola 68K CPU emulation.
31   */   */
# Line 153  void m68k_cpu_register_match(struct mach Line 153  void m68k_cpu_register_match(struct mach
153    
154    
155  /*  /*
156     *  m68k_cpu_tlbdump():
157     *
158     *  Called from the debugger to dump the TLB in a readable format.
159     *  x is the cpu number to dump, or -1 to dump all CPUs.
160     *
161     *  If rawflag is nonzero, then the TLB contents isn't formated nicely,
162     *  just dumped.
163     */
164    void m68k_cpu_tlbdump(struct machine *m, int x, int rawflag)
165    {
166    }
167    
168    
169    /*
170     *  m68k_cpu_gdb_stub():
171     *
172     *  Execute a "remote GDB" command. Returns a newly allocated response string
173     *  on success, NULL on failure.
174     */
175    char *m68k_cpu_gdb_stub(struct cpu *cpu, char *cmd)
176    {
177            fatal("m68k_cpu_gdb_stub(): TODO\n");
178            return NULL;
179    }
180    
181    
182    /*
183   *  m68k_cpu_interrupt():   *  m68k_cpu_interrupt():
184   */   */
185  int m68k_cpu_interrupt(struct cpu *cpu, uint64_t irq_nr)  int m68k_cpu_interrupt(struct cpu *cpu, uint64_t irq_nr)
# Line 192  static void print_spaces(int len) { int Line 219  static void print_spaces(int len) { int
219   *  cpu->pc for relative addresses.   *  cpu->pc for relative addresses.
220   */   */
221  int m68k_cpu_disassemble_instr(struct cpu *cpu, unsigned char *ib,  int m68k_cpu_disassemble_instr(struct cpu *cpu, unsigned char *ib,
222          int running, uint64_t dumpaddr, int bintrans)          int running, uint64_t dumpaddr)
223  {  {
224          uint64_t offset;          uint64_t offset;
225          int len = 0;          int len = 0;

Legend:
Removed from v.20  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26