This patch changes following in getpir application.
1 - Moved the check sum validation to probe_table function. 2 - Proper handling of resources allocated. 3 - Signature check is done in 16 byte boundaries. 4 - irq_tables.c file is created only if a valid PIRQ table is found. 5 – Makefile and README file are modified accordingly. Signed-off-by: Mohamed Mansoor <mansoor@iwavesystems.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4680 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
5db685fedf
commit
bde683ce9f
@@ -5,8 +5,7 @@
|
||||
CC=gcc
|
||||
CFLAGS=-O2 -D_GNU_SOURCE -DGETPIR -Wall
|
||||
|
||||
all: getpir checkpir
|
||||
./checkpir
|
||||
all: getpir
|
||||
|
||||
getpir: getpir.o checksum.o code_gen.o
|
||||
$(CC) $(CFLAGS) -o getpir $^
|
||||
|
Reference in New Issue
Block a user