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

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

revision 37 by dpavlin, Mon Oct 8 16:21:17 2007 UTC revision 38 by dpavlin, Mon Oct 8 16:21:53 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: generate_head.c,v 1.25 2006/12/30 13:30:56 debug Exp $   *  $Id: generate_head.c,v 1.26 2007/04/10 17:26:20 debug Exp $
29   */   */
30    
31  #include <stdio.h>  #include <stdio.h>
# Line 143  int main(int argc, char *argv[]) Line 143  int main(int argc, char *argv[])
143          printf("\tcpu->cd.%s.next_ic --;\n", a);          printf("\tcpu->cd.%s.next_ic --;\n", a);
144          printf("}\n\n");          printf("}\n\n");
145    
146          /*  Ugly special hacks for Transputer and SH[34]:  */          /*  Ugly special hacks for SH[34]:  */
147          if (strcasecmp(argv[1], "transputer") == 0) {          if (strcasecmp(argv[1], "sh") == 0) {
                 printf("static struct %s_instr_call nothing_call = { "  
                     "instr(nothing), {0} };\n", a);  
         } else if (strcasecmp(argv[1], "sh") == 0) {  
                 printf("static struct %s_instr_call nothing_call = { "  
                     "instr(nothing), {0,0} };\n", a);  
         } else if (strcasecmp(argv[1], "avr32") == 0) {  
148                  printf("static struct %s_instr_call nothing_call = { "                  printf("static struct %s_instr_call nothing_call = { "
149                      "instr(nothing), {0,0} };\n", a);                      "instr(nothing), {0,0} };\n", a);
150          } else {          } else {

Legend:
Removed from v.37  
changed lines
  Added in v.38

  ViewVC Help
Powered by ViewVC 1.1.26