aboutsummaryrefslogtreecommitdiff
path: root/src/std/acpi.h
AgeCommit message (Collapse)AuthorFilesLines
2020-05-15acpi: add xsdt supportGerd Hoffmann1-0/+11
In case a xsdt table is present (and located below 4G) prefer it over rsdt. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2017-11-15tpm: Add support for TPM2 ACPI tableStefan Berger1-0/+13
Add support for the TPM2 ACPI table. If we find it and its of the appropriate size, we can get the log_area_start_address and log_area_minimum_size from it. The latest version of the spec can be found here: https://trustedcomputinggroup.org/tcg-acpi-specification/ Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2016-11-27acpi: Generalize find_fadt() and find_tcpa_by_rsdp() into find_acpi_table()Kevin O'Connor1-7/+0
The find_fadt() and find_tcpa_by_rsdp() functions are very similar. Create a new find_acpi_table() function and replace the two functions with this new function. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2015-05-21Implementation of the TCG BIOS extensionsStefan Berger1-0/+20
This patch implements the main part of the TCG BIOS extensions. It provides the following functionality: - initialization of the TCPA ACPI table used for logging of measurements - initialization of the TPM by sending a sequence of commands to it - proper setup of the TPM before the BIOS hands over control to the bootloader - support for S3 resume; BIOS sends TPM_Startup(ST_STATE) to TPM - enable configuration of SeaBIOS to be built with TCGBIOS extensions All TCG BIOS extensions are activated with CONFIG_TCGBIOS. Structures that are needed in subsequent patches are also included in tcgbios.h at this point. The effect of this patch is that it initialized the TPM upon VM start and S3 resume. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2014-08-22acpi: use specified macro instead of magic-numberzhanghailiang1-0/+25
Instead of magic numbers, use specified macros for FADT Fixed Feature Flags. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
2013-09-18Move fw/acpi.h to std/acpi.h.Kevin O'Connor1-0/+272
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>