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

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

revision 14 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_tail.c,v 1.5 2005/09/18 19:54:14 debug Exp $   *  $Id: generate_tail.c,v 1.6 2005/10/22 17:24:21 debug Exp $
29   */   */
30    
31  #include <stdio.h>  #include <stdio.h>
# Line 84  int main(int argc, char *argv[]) Line 84  int main(int argc, char *argv[])
84          printf("#include \"cpu_dyntrans.c\"\n");          printf("#include \"cpu_dyntrans.c\"\n");
85          printf("#undef DYNTRANS_INVAL_ENTRY\n\n");          printf("#undef DYNTRANS_INVAL_ENTRY\n\n");
86    
87          printf("#define DYNTRANS_INVALIDATE_TC_PADDR "          printf("#define DYNTRANS_INVALIDATE_TC "
88              "%s_invalidate_translation_caches_paddr\n", a);              "%s_invalidate_translation_caches\n", a);
89          printf("#include \"cpu_dyntrans.c\"\n");          printf("#include \"cpu_dyntrans.c\"\n");
90          printf("#undef DYNTRANS_INVALIDATE_TC_PADDR\n\n");          printf("#undef DYNTRANS_INVALIDATE_TC\n\n");
91    
92          printf("#define DYNTRANS_INVALIDATE_TC_CODE "          printf("#define DYNTRANS_INVALIDATE_TC_CODE "
93              "%s_invalidate_code_translation\n", a);              "%s_invalidate_code_translation\n", a);
# Line 149  int main(int argc, char *argv[]) Line 149  int main(int argc, char *argv[])
149              "%s32_invalidate_tlb_entry\n", a);              "%s32_invalidate_tlb_entry\n", a);
150          printf("#include \"cpu_dyntrans.c\"\n");          printf("#include \"cpu_dyntrans.c\"\n");
151          printf("#undef DYNTRANS_INVAL_ENTRY\n\n");          printf("#undef DYNTRANS_INVAL_ENTRY\n\n");
152          printf("#define DYNTRANS_INVALIDATE_TC_PADDR "          printf("#define DYNTRANS_INVALIDATE_TC "
153              "%s32_invalidate_translation_caches_paddr\n", a);              "%s32_invalidate_translation_caches\n", a);
154          printf("#include \"cpu_dyntrans.c\"\n");          printf("#include \"cpu_dyntrans.c\"\n");
155          printf("#undef DYNTRANS_INVALIDATE_TC_PADDR\n\n");          printf("#undef DYNTRANS_INVALIDATE_TC\n\n");
156          printf("#define DYNTRANS_INVALIDATE_TC_CODE "          printf("#define DYNTRANS_INVALIDATE_TC_CODE "
157              "%s32_invalidate_code_translation\n", a);              "%s32_invalidate_code_translation\n", a);
158          printf("#include \"cpu_dyntrans.c\"\n");          printf("#include \"cpu_dyntrans.c\"\n");

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

  ViewVC Help
Powered by ViewVC 1.1.26