From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] [Firmware] TCG BIOS extensions for the Bochs BIOS Date: Fri, 08 Dec 2006 13:36:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1980632610==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Berger , Keir Fraser Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============1980632610== Content-type: multipart/alternative; boundary="B_3248429765_17270259" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3248429765_17270259 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable On 8/12/06 13:30, "Stefan Berger" wrote: >> > Is there a good reason for it being implemented almost entirely in ass= embly >> > language?=20 >=20 > The compiled TCG extension code adds approximately 0x2500 bytes to the BI= OS > and would add more to it if it was written in 'C'. Presumably only those who want TPM functionality will run with the TPM-enabled BIOS, and they are unlikely to care whether the implementation is e.g., 10kB or 15kB. Even people not using the TPM capabilities are not really going to care about a few kilobytes. It=B9s not like you=B9re constraine= d to 64kB (0xF0000-0xFFFFF) =8B you can stick the 32-bit code below 4GB. -- Keir --B_3248429765_17270259 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] [PATCH] [Firmware] TCG BIOS extensions for the Bochs= BIOS On 8/= 12/06 13:30, "Stefan Berger" <stefanb@us.ibm.com> wrote:

> Is there a good reason for it being implemented almost e= ntirely in assembly
> language?


The compiled TCG extension code add= s approximately 0x2500 bytes to the BIOS and would add more to it if it was = written in 'C'.

Presumably only those who want TPM functionality will run with the TPM-enab= led BIOS, and they are unlikely to care whether the implementation is e.g., = 10kB or 15kB. Even people not using the TPM capabilities are not really goin= g to care about a few kilobytes. It’s not like you’re constraine= d to 64kB (0xF0000-0xFFFFF) — you can stick the 32-bit code below 4GB.=

 -- Keir
--B_3248429765_17270259-- --===============1980632610== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1980632610==--