1 message in com.xensource.lists.xen-devel[Xen-devel] [PATCH] ioemu: make TPM o...
FromSent OnAttachments
Samuel Thibault07 Feb 2008 06:16 
Subject:[Xen-devel] [PATCH] ioemu: make TPM optional
From:Samuel Thibault (samu@eu.citrix.com)
Date:02/07/2008 06:16:52 AM
List:com.xensource.lists.xen-devel

ioemu: make TPM optional

Signed-off-by: Samuel Thibault <samu@eu.citrix.com>

diff -r f5493972d237 tools/ioemu/Makefile.target --- a/tools/ioemu/Makefile.target Thu Feb 07 14:15:19 2008 +0000 +++ b/tools/ioemu/Makefile.target Thu Feb 07 14:15:34 2008 +0000 @@ -420,6 +420,7 @@ VL_OBJS+= xenfb.o VL_OBJS+= xenfb.o VL_OBJS+= xen_console.o VL_OBJS+= tpm_tis.o +CPPFLAGS += -DHAS_TPM CPPFLAGS += -DHAS_AUDIO endif ifeq ($(TARGET_BASE_ARCH), ppc) diff -r f5493972d237 tools/ioemu/hw/pc.c --- a/tools/ioemu/hw/pc.c Thu Feb 07 14:15:19 2008 +0000 +++ b/tools/ioemu/hw/pc.c Thu Feb 07 14:15:34 2008 +0000 @@ -1013,8 +1013,10 @@ static void pc_init1(uint64_t ram_size, } }

+#ifdef HAS_TPM if (has_tpm_device()) tpm_tis_init(&pic_set_irq_new, isa_pic, 11); +#endif

kbd_init(); DMA_init(0);