/[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 30 by dpavlin, Mon Oct 8 16:20:40 2007 UTC revision 32 by dpavlin, Mon Oct 8 16:20:58 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: generate_head.c,v 1.23 2006/08/11 17:43:30 debug Exp $   *  $Id: generate_head.c,v 1.24 2006/10/25 09:24:06 debug Exp $
29   */   */
30    
31  #include <stdio.h>  #include <stdio.h>
# Line 150  int main(int argc, char *argv[]) Line 150  int main(int argc, char *argv[])
150          } else if (strcasecmp(argv[1], "sh") == 0) {          } else if (strcasecmp(argv[1], "sh") == 0) {
151                  printf("static struct %s_instr_call nothing_call = { "                  printf("static struct %s_instr_call nothing_call = { "
152                      "instr(nothing), {0,0} };\n", a);                      "instr(nothing), {0,0} };\n", a);
153            } else if (strcasecmp(argv[1], "avr32") == 0) {
154                    printf("static struct %s_instr_call nothing_call = { "
155                        "instr(nothing), {0,0} };\n", a);
156          } else {          } else {
157                  printf("static struct %s_instr_call nothing_call = { "                  printf("static struct %s_instr_call nothing_call = { "
158                      "instr(nothing), {0,0,0} };\n", a);                      "instr(nothing), {0,0,0} };\n", a);

Legend:
Removed from v.30  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.26