From c88b537461d2af16812a78c6266ac62695900708 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 25 Mar 2008 19:43:01 +0000 Subject: Make the getpir output compile (Closes #70). Signed-off-by: Jon Dufresne Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3189 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/getpir/code_gen.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'util/getpir') 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); } -- cgit v1.2.3