coreboot-kgpe-d16/util/getpir
Stefan Reinauer 775c04e537 commit svn:externals for last commit (what a pain) (1/2)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4382 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-06-30 15:23:20 +00:00
..
Makefile
README util/ renames 2008-01-18 15:34:24 +00:00
checkpir.c util/ renames 2008-01-18 15:34:24 +00:00
checksum.c
checksum.h
code_gen.c Make the getpir output look less crappy and add a license 2009-05-22 18:17:06 +00:00
code_gen.h
getpir.c util/ renames 2008-01-18 15:34:24 +00:00
pirq_routing.h commit svn:externals for last commit (what a pain) (1/2) 2009-06-30 15:23:20 +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 coreboot tree
make

USAGE:

./getpir

Will dump irq table to the file called irq_tables.c, ready to use with coreboot. 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.