/[dynamips]/upstream/dynamips-0.2.6-RC2/mips64.h
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 /upstream/dynamips-0.2.6-RC2/mips64.h

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

upstream/dynamips-0.2.5/mips64.h revision 1 by dpavlin, Sat Oct 6 16:01:44 2007 UTC upstream/dynamips-0.2.6-RC2/mips64.h revision 3 by dpavlin, Sat Oct 6 16:05:34 2007 UTC
# Line 374  struct mts64_entry { Line 374  struct mts64_entry {
374  /* MTS64 chunk forward declaration */  /* MTS64 chunk forward declaration */
375  typedef struct mts64_chunk mts64_chunk_t;  typedef struct mts64_chunk mts64_chunk_t;
376    
377    /* Maximum results for idle pc */
378    #define MIPS64_IDLE_PC_MAX_RES  10
379    
380    /* Idle PC hash item */
381    struct mips64_idle_pc {
382       m_uint64_t pc;
383       u_int count;
384    };
385    
386  /* MIPS CPU definition */  /* MIPS CPU definition */
387  struct cpu_mips {    struct cpu_mips {  
388     /* MTS 1st level array */     /* MTS 1st level array */
# Line 432  struct cpu_mips { Line 441  struct cpu_mips {
441    
442     /* "Idle" loop management */     /* "Idle" loop management */
443     volatile m_uint64_t idle_pc;     volatile m_uint64_t idle_pc;
444     u_int idle_max,idle_sleep_time;     u_int idle_count,idle_max,idle_sleep_time;
445     pthread_mutex_t idle_mutex;     pthread_mutex_t idle_mutex;
446     pthread_cond_t idle_cond;     pthread_cond_t idle_cond;
447    
# Line 510  struct cpu_mips { Line 519  struct cpu_mips {
519     m_uint64_t breakpoints[MIPS64_MAX_BREAKPOINTS];     m_uint64_t breakpoints[MIPS64_MAX_BREAKPOINTS];
520     u_int breakpoints_enabled;     u_int breakpoints_enabled;
521    
522       /* Idle PC proposal */
523       struct mips64_idle_pc idle_pc_prop[MIPS64_IDLE_PC_MAX_RES];
524       u_int idle_pc_prop_count;
525    
526     /* Symtrace */     /* Symtrace */
527     int sym_trace;     int sym_trace;
528     rbtree_tree *sym_tree;     rbtree_tree *sym_tree;
# Line 602  fastcall void mips64_exec_mtc1(cpu_mips_ Line 615  fastcall void mips64_exec_mtc1(cpu_mips_
615  /* Virtual breakpoint */  /* Virtual breakpoint */
616  fastcall void mips64_run_breakpoint(cpu_mips_t *cpu);  fastcall void mips64_run_breakpoint(cpu_mips_t *cpu);
617    
618    /* Add a virtual breakpoint */
619    int mips64_add_breakpoint(cpu_mips_t *cpu,m_uint64_t pc);
620    
621    /* Remove a virtual breakpoint */
622    void mips64_remove_breakpoint(cpu_mips_t *cpu,m_uint64_t pc);
623    
624  /* Debugging for register-jump to address 0 */  /* Debugging for register-jump to address 0 */
625  fastcall void mips64_debug_jr0(cpu_mips_t *cpu);  fastcall void mips64_debug_jr0(cpu_mips_t *cpu);
626    

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

  ViewVC Help
Powered by ViewVC 1.1.26