seperate checksum and code generating code.

use mmap instead of file io


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1504 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Li-Ta Lo
2004-04-14 22:24:50 +00:00
parent 815a803164
commit 6463ae7f1b
6 changed files with 116 additions and 132 deletions

6
util/getpir/checksum.h Normal file
View File

@@ -0,0 +1,6 @@
#ifndef __CHECKSUM_H__
#define __CHECKSUM_H__
extern int calc_checksum(struct irq_routing_table *rt);
#endif /* __CHECKSUN_H__ */