summaryrefslogtreecommitdiff
path: root/util/getpir/README
blob: 651458583b13931687de412ce069644e26f2fd7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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..

USAGE:

Steps
1. make distclean;
2. make getpir
3. ./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 coreboot tree.


4. CHECKING CUSTOM irq_tables.c:

   make checkpir
   ./checkpir

   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.


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