debuggers.hg

view tools/firmware/rombios/32bit/tcgbios/Makefile @ 13681:c07326324f8d

[HVM] Add TCG BIOS extensions to the high memory area along with
some often-used libc utility functions. The TCG extensions are
described here:

https://www.trustedcomputinggroup.org/specs/PCClient/TCG_PCClientImplementationforBIOS_1-20_1-00.pdf

I have tried to keep the patching with rombios.c to a minimum, but
some amount of code needs to be inserted at various locations.

The code is currently deactivated, but can be activated by setting
BX_TCGBIOS to '1'.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author kaf24@localhost.localdomain
date Fri Jan 26 16:38:32 2007 +0000 (2007-01-26)
parents
children 4dd3266e13a7
line source
2 override XEN_TARGET_ARCH = x86_32
3 XEN_ROOT = ../../../../..
4 CFLAGS :=
5 include $(XEN_ROOT)/tools/Rules.mk
7 TARGET = tcgbiosext.o
8 FILES = tcgbios tpm_drivers
9 OBJECTS = $(foreach f,$(FILES),$(f).o)
11 CFLAGS += -fno-builtin -O2 -msoft-float -nostdlib
12 CFLAGS += -I../ -I../../
14 all: $(TARGET)
16 clean::
17 rm -rf *.o $(TARGET)
19 $(TARGET): $(OBJECTS)
20 ld $(LDFLAGS_DIRECT) -r $^ -o $@