summaryrefslogtreecommitdiff
path: root/util/getpir
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2008-03-25 19:43:01 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-03-25 19:43:01 +0000
commitc88b537461d2af16812a78c6266ac62695900708 (patch)
tree55de8e0aed482ba3eda40715f8b2ca4fdc3a4a33 /util/getpir
parent2216d1b46a86fd5beb20a8e99f176f28c527e0ec (diff)
downloadcoreboot-c88b537461d2af16812a78c6266ac62695900708.tar.xz
Make the getpir output compile (Closes #70).
Signed-off-by: Jon Dufresne <jon.dufresne@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3189 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/getpir')
-rw-r--r--util/getpir/code_gen.c5
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);
}