From 10a257749ffa163a7cb012fe766e3649438b6f67 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 19 Oct 2021 18:19:29 +0200 Subject: [PATCH] Fixed Intel PIIX and VIA PIPC trap SMI# function calls. --- src/chipset/intel_piix.c | 2 +- src/chipset/via_pipc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chipset/intel_piix.c b/src/chipset/intel_piix.c index a333c52b7..1a278a2c3 100644 --- a/src/chipset/intel_piix.c +++ b/src/chipset/intel_piix.c @@ -281,7 +281,7 @@ piix_trap_io(int size, uint16_t addr, uint8_t write, uint8_t val, void *priv) if (*(trap->en_reg) & trap->en_mask) { *(trap->sts_reg) |= trap->sts_mask; - acpi_raise_smi(trap->dev->acpi); + acpi_raise_smi(trap->dev->acpi, 1); } } diff --git a/src/chipset/via_pipc.c b/src/chipset/via_pipc.c index f3112974d..3829e337c 100644 --- a/src/chipset/via_pipc.c +++ b/src/chipset/via_pipc.c @@ -172,7 +172,7 @@ pipc_trap_io_pact(int size, uint16_t addr, uint8_t write, uint8_t val, void *pri *(trap->sts_reg) |= trap->mask; trap->dev->acpi->regs.glbsts |= 0x0001; if (trap->dev->acpi->regs.glben & 0x0001) - acpi_raise_smi(trap->dev->acpi); + acpi_raise_smi(trap->dev->acpi, 1); } } @@ -184,7 +184,7 @@ pipc_io_trap_glb(int size, uint16_t addr, uint8_t write, uint8_t val, void *priv if (*(trap->en_reg) & trap->mask) { *(trap->sts_reg) |= trap->mask; - acpi_raise_smi(trap->dev->acpi); + acpi_raise_smi(trap->dev->acpi, 1); } }