Re: [SeaBIOS] [PATCH v2 2/3] tcgbios: Add TPM Physical Presence interface support

2018-01-16 Thread Stefan Berger
On 01/16/2018 05:35 PM, Kevin O'Connor wrote: On Tue, Jan 16, 2018 at 05:01:51PM -0500, Stefan Berger wrote: On 01/16/2018 01:36 PM, Kevin O'Connor wrote: On Tue, Jan 16, 2018 at 11:41:02AM -0500, Stefan Berger wrote: +tp = (struct tpm_ppi *)(u32)qemu->tpmppi_address; +dprintf(DEBUG_tc

Re: [SeaBIOS] [PATCH v2 2/3] tcgbios: Add TPM Physical Presence interface support

2018-01-16 Thread Kevin O'Connor
On Tue, Jan 16, 2018 at 05:01:51PM -0500, Stefan Berger wrote: > On 01/16/2018 01:36 PM, Kevin O'Connor wrote: > > On Tue, Jan 16, 2018 at 11:41:02AM -0500, Stefan Berger wrote: > > > +tp = (struct tpm_ppi *)(u32)qemu->tpmppi_address; > > > +dprintf(DEBUG_tcg, "TCGBIOS: TPM PPI struct at %p

Re: [SeaBIOS] [PATCH v2 2/3] tcgbios: Add TPM Physical Presence interface support

2018-01-16 Thread Stefan Berger
On 01/16/2018 01:36 PM, Kevin O'Connor wrote: On Tue, Jan 16, 2018 at 11:41:02AM -0500, Stefan Berger wrote: Add support for TPM 1.2 and TPM 2 Physical Presence interface (PPI). A shared memory structure is located at 0xfffe f000 - 0xfffe f3ff that SeaBIOS initializes (unless it has already been

Re: [SeaBIOS] [PATCH v2 2/3] tcgbios: Add TPM Physical Presence interface support

2018-01-16 Thread Laszlo Ersek
On 01/16/18 19:36, Kevin O'Connor wrote: > On Tue, Jan 16, 2018 at 11:41:02AM -0500, Stefan Berger wrote: >> Add support for TPM 1.2 and TPM 2 Physical Presence interface (PPI). >> A shared memory structure is located at 0xfffe f000 - 0xfffe f3ff >> that SeaBIOS initializes (unless it has already b

Re: [SeaBIOS] [PATCH v2 2/3] tcgbios: Add TPM Physical Presence interface support

2018-01-16 Thread Kevin O'Connor
On Tue, Jan 16, 2018 at 11:41:02AM -0500, Stefan Berger wrote: > Add support for TPM 1.2 and TPM 2 Physical Presence interface (PPI). > A shared memory structure is located at 0xfffe f000 - 0xfffe f3ff > that SeaBIOS initializes (unless it has already been intialized) and > then searches for a code

[SeaBIOS] [PATCH v2 2/3] tcgbios: Add TPM Physical Presence interface support

2018-01-16 Thread Stefan Berger
Add support for TPM 1.2 and TPM 2 Physical Presence interface (PPI). A shared memory structure is located at 0xfffe f000 - 0xfffe f3ff that SeaBIOS initializes (unless it has already been intialized) and then searches for a code it is supposed to act upon. A code typically requires that one or more