ACPI: Make FADT entries for SMI architectural
Change-Id: I80aa71b813ab8e50801a66556d45ff66804ad349 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74600 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include <acpi/acpi.h>
|
||||
#include <cf9_reset.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
|
||||
void arch_fill_fadt(acpi_fadt_t *fadt)
|
||||
{
|
||||
@@ -17,4 +18,10 @@ void arch_fill_fadt(acpi_fadt_t *fadt)
|
||||
|
||||
fadt->flags |= ACPI_FADT_RESET_REGISTER;
|
||||
}
|
||||
|
||||
if (permanent_smi_handler()) {
|
||||
fadt->smi_cmd = APM_CNT;
|
||||
fadt->acpi_enable = APM_CNT_ACPI_ENABLE;
|
||||
fadt->acpi_disable = APM_CNT_ACPI_DISABLE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user