The ACPI power-on resume event now also has the PWRBTN bit set, fixes the FIC machines after a soft shutdown and power supply detection on many other machines, including the PC Chips Aladdin's.

This commit is contained in:
OBattler
2023-10-28 23:40:11 +02:00
parent 237c792795
commit 03d7f44907

View File

@@ -1654,7 +1654,8 @@ acpi_reset(void *priv)
}
/* Power on always generates a resume event. */
dev->regs.pmsts |= 0x8000;
// dev->regs.pmsts |= 0x8000;
dev->regs.pmsts |= 0x8100;
acpi_rtc_status = 0;