diff options
Diffstat (limited to 'util/getpir/code_gen.c')
-rw-r--r-- | util/getpir/code_gen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/getpir/code_gen.c b/util/getpir/code_gen.c index cc7944ef68..c18e63ec29 100644 --- a/util/getpir/code_gen.c +++ b/util/getpir/code_gen.c @@ -66,5 +66,10 @@ void code_gen(char *filename, struct irq_routing_table *rt) fprintf(fpir, "\t}\n"); fprintf(fpir, "};\n"); + fprintf(fpir, "\nunsigned long write_pirq_routing_table(unsigned long addr)\n"); + fprintf(fpir, "{\n"); + fprintf(fpir, "\treturn copy_pirq_routing_table(addr);\n"); + fprintf(fpir, "}\n"); + fclose(fpir); } |