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

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

revision 17 by dpavlin, Mon Oct 8 16:18:51 2007 UTC revision 18 by dpavlin, Mon Oct 8 16:19:11 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: generate_arm_dpi.c,v 1.1 2005/08/29 14:36:41 debug Exp $   *  $Id: generate_arm_dpi.c,v 1.2 2005/10/22 12:22:13 debug Exp $
29   */   */
30    
31  #include <stdio.h>  #include <stdio.h>
# Line 65  int main(int argc, char *argv[]) Line 65  int main(int argc, char *argv[])
65          printf("#include <stdio.h>\n#include <stdlib.h>\n"          printf("#include <stdio.h>\n#include <stdlib.h>\n"
66              "#include \"cpu.h\"\n"              "#include \"cpu.h\"\n"
67              "#include \"misc.h\"\n"              "#include \"misc.h\"\n"
68                "#include \"arm_quick_pc_to_pointers.h\"\n"
69              "#define reg(x) (*((uint32_t *)(x)))\n");              "#define reg(x) (*((uint32_t *)(x)))\n");
70          printf("extern void arm_instr_nop(struct cpu *, "          printf("extern void arm_instr_nop(struct cpu *, "
71              "struct arm_instr_call *);\n");              "struct arm_instr_call *);\n");
72          printf("extern void arm_instr_invalid(struct cpu *, "          printf("extern void arm_instr_invalid(struct cpu *, "
73              "struct arm_instr_call *);\n");              "struct arm_instr_call *);\n");
         printf("extern uint32_t R(struct cpu *, struct arm_instr_call *, "  
             "uint32_t, int);\n");  
         printf("extern void arm_pc_to_pointers(struct cpu *);\n");  
74    
75          for (reg=0; reg<=1; reg++)          for (reg=0; reg<=1; reg++)
76            for (pc=0; pc<=1; pc++)            for (pc=0; pc<=1; pc++)

Legend:
Removed from v.17  
changed lines
  Added in v.18

  ViewVC Help
Powered by ViewVC 1.1.26