coreboot-kgpe-d16/util/getpir
Uwe Hermann a94b4c6bc1 Update URL for the PCI IRQ Routing Table Specification (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2613 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2007-04-22 01:17:36 +00:00
..
Makefile Jeremy Jackson wrote: 2007-04-11 18:44:42 +00:00
README porting getpir to freebios2 2004-04-13 21:06:45 +00:00
checkpir.c Jeremy Jackson wrote: 2007-04-11 18:44:42 +00:00
checksum.c Jeremy Jackson wrote: 2007-04-11 18:44:42 +00:00
checksum.h Jeremy Jackson wrote: 2007-04-11 18:44:42 +00:00
code_gen.c Update URL for the PCI IRQ Routing Table Specification (trivial). 2007-04-22 01:17:36 +00:00
code_gen.h Jeremy Jackson wrote: 2007-04-11 18:44:42 +00:00
getpir.c Jeremy Jackson wrote: 2007-04-11 18:44:42 +00:00
pirq_routing.h Jeremy Jackson wrote: 2007-04-11 18:44:42 +00:00

README

ABOUT:

This utility will help to create irq_table.c file, that is very hard to create manually, 
specialy when you are testing new motherboards, changing your hardware often, placing new cards, etc.. 


INSTALL:

edit Makefile, define the root to Linuxbios tree
make

USAGE:

./getpir

Will dump irq table to the file called irq_tables.c, ready to use with Linuxbios. Just move the 
file to corresponding place in the linux bios tree.


CHECKING CUSTOM irq_tables.c:

checkpir.c Will verify the irq_tables.c, currently it only checks the checksum. In case of wrong
checksum, a good value is proposed, so you can edit irq_tables.c manualy and replace checksum.
Run the command like this:

make test

Do not run ./checkpir directly because it needs to be linked to irq_table.o first.