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> |
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 { |