/[gxemul]/trunk/src/cpu_hppa.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/cpu_hppa.c

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

revision 3 by dpavlin, Mon Oct 8 16:17:48 2007 UTC revision 4 by dpavlin, Mon Oct 8 16:18:00 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: cpu_hppa.c,v 1.3 2005/03/10 23:56:21 debug Exp $   *  $Id: cpu_hppa.c,v 1.4 2005/04/15 21:39:59 debug Exp $
29   *   *
30   *  HPPA CPU emulation.   *  HPPA CPU emulation.
31   *   *
# Line 184  void hppa_cpu_register_match(struct mach Line 184  void hppa_cpu_register_match(struct mach
184  int hppa_cpu_disassemble_instr(struct cpu *cpu, unsigned char *instr,  int hppa_cpu_disassemble_instr(struct cpu *cpu, unsigned char *instr,
185          int running, uint64_t dumpaddr, int bintrans)          int running, uint64_t dumpaddr, int bintrans)
186  {  {
187          uint64_t offset, addr;          uint64_t offset;
188          uint32_t iword;          uint32_t iword;
189          char *symbol, *mnem = "ERROR";          char *symbol;
190          int hi6, imm, rr, rb;          int hi6, imm, rr, rb;
191    
192          if (running)          if (running)
# Line 245  int hppa_cpu_disassemble_instr(struct cp Line 245  int hppa_cpu_disassemble_instr(struct cp
245    
246  disasm_ret:  disasm_ret:
247          debug("\n");          debug("\n");
 disasm_ret_nonewline:  
248          return sizeof(iword);          return sizeof(iword);
249  }  }
250    
# Line 262  int hppa_cpu_run_instr(struct emul *emul Line 261  int hppa_cpu_run_instr(struct emul *emul
261  {  {
262          uint32_t iword;          uint32_t iword;
263          unsigned char buf[4];          unsigned char buf[4];
         unsigned char tmp_data[8];  
264          uint64_t cached_pc;          uint64_t cached_pc;
265          int r, i, hi6, rt, imm;          int r, i, hi6, rt, imm;
266    

Legend:
Removed from v.3  
changed lines
  Added in v.4

  ViewVC Help
Powered by ViewVC 1.1.26