projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2216d1b
)
Make the getpir output compile (Closes #70).
author
Jon Dufresne
<jon.dufresne@gmail.com>
Tue, 25 Mar 2008 19:43:01 +0000
(19:43 +0000)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Tue, 25 Mar 2008 19:43:01 +0000
(19:43 +0000)
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
util/getpir/code_gen.c
patch
|
blob
|
history
diff --git
a/util/getpir/code_gen.c
b/util/getpir/code_gen.c
index cc7944ef68b146aad7d0a82f71c2b5d1edb02fa0..c18e63ec29c8dc2b1db436af6de28e06e12a5930 100644
(file)
--- 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);
}