Re: [SeaBIOS] [PATCH V4 2/8] Provide ACPI SSDT table for TPM device + S3 resume support

2011-05-18 Thread Kevin O'Connor
On Wed, May 18, 2011 at 03:49:25PM -0400, Stefan Berger wrote: > On 04/12/2011 09:32 AM, Stefan Berger wrote: > >+ > >+static u32 add_tpm_device(void **tpm_addr, void **tcpa_addr) > >+{ > >+struct tcpa_descriptor_rev2 *tcpa; > >+ > >+*tpm_addr = NULL; > >+*tcpa_addr = NULL; > >+ > >+

Re: [SeaBIOS] [PATCH V4 2/8] Provide ACPI SSDT table for TPM device + S3 resume support

2011-05-18 Thread Stefan Berger
On 04/12/2011 09:32 AM, Stefan Berger wrote: + +static u32 add_tpm_device(void **tpm_addr, void **tcpa_addr) +{ +struct tcpa_descriptor_rev2 *tcpa; + +*tpm_addr = NULL; +*tcpa_addr = NULL; + +if (has_working_tpm()) { +u32 laml = 64 * 1024; Kevin, the above line prepare

[SeaBIOS] [PATCH V4 2/8] Provide ACPI SSDT table for TPM device + S3 resume support

2011-04-12 Thread Stefan Berger
This patch provides ACPI support for the TPM device. It probes for the TPM device and only if a TPM device is found then the TPM's SSDT and TCPA table are created. This patch also connects them to the RSDT. Since the logging area in the TCPA table requires 64kb, the memory reserved for ACPI tables