Commit Graph

88 Commits

Author SHA1 Message Date
OBattler
a2e8607407 Removing a commented out line from acpi.c. 2023-10-28 23:50:25 +02:00
OBattler
03d7f44907 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. 2023-10-28 23:40:11 +02:00
OBattler
8bdecb1f59 Some PIC and ACPI IRQ fixes. 2023-09-28 00:20:15 +02:00
OBattler
9f4ae7030e ACPI and Vodoo 3/Banshee PCI/AGP card adding fixes, fixes #3535. 2023-08-10 16:10:59 +02:00
OBattler
c30d5d90b7 PCI and IRQ rework, pci.c rewritten from ground up, fixes numerous issues such as the bridge being added when the number of normal PCI devices equals the number of normal PCI slots, Windows 95 PCI operation on Intel 430NX, sharing of PCI IRQ's with non-PCI level-triggered devices, having both configuration mechanisms operating at the same time (ALi M1435), etc., and makes the code much more readable. 2023-08-07 03:04:52 +02:00
RichardG867
69051c9c01 ACPI: Add another undocumented ALi power off mode, closes #3497 2023-07-31 18:42:59 -03:00
Jasmine Iwanek
998cfe5cc8 Constification 2023-07-25 17:59:24 -04:00
Jasmine Iwanek
ee695e71f9 More sonarlint work 2023-07-25 17:59:22 -04:00
Jasmine Iwanek
1116aadb6f Another round of sonarlint work 2023-07-04 10:53:44 -04:00
Jasmine Iwanek
6c1e4a8e2c Some code smell fixes from sonarlint 2023-05-15 19:25:56 -04:00
OBattler
19d155cdd7 Keyboard controller file split and assorted clean-ups and fixes 2023-04-19 23:34:32 +02:00
Jasmine Iwanek
610401de7a Yet more clang-formatting 2023-02-28 23:53:57 -05:00
RichardG867
875a9fe373 ACPI: Add undocumented ALi M1543C suspend type used by ASUS P5A, fixes shutdown hang/reboot 2023-02-28 17:27:59 -03:00
Cacodemon345
a9149bb78a qt: Reenable and make functional ACPI shutdown button 2023-02-06 01:39:34 +06:00
OBattler
27ebb27db7 Makefile.mingw corrections and made the code pass much stricter checks (now mandated by Makefile.mignw) to ensure GCC 14 readiness. 2022-11-17 22:44:06 +01:00
Jasmine Iwanek
aa2c07bed2 Random header cleanups I noticed while porting things 2022-11-05 22:12:35 -04:00
Jasmine Iwanek
e6dbaefeb1 clang-format in src/ 2022-09-18 17:19:21 -04:00
Jasmine Iwanek
c430fbe84c Assorted cleanups I've discovered over time 2022-07-21 22:08:36 -04:00
OBattler
d68121ae89 ACPI, APM, PIC, and USB. 2022-07-16 02:54:49 +02:00
Adrien Moulin
2ed8ad907c ACPI: replace 3.58MHz timer with an overflow timer 2022-07-15 23:42:40 +02:00
Jasmine Iwanek
66a687d68d src/ 2022-03-13 09:15:11 -04:00
Jasmine Iwanek
dfa18a0191 Remove SIS 559x ACPI leftovers 2022-02-20 20:41:20 -05:00
Jasmine Iwanek
25e9087f3f clean up spaces and tabs at the end of lines 2022-02-20 00:33:04 -05:00
Jess Lovelace
a69033fc9e fixed small issue 2022-02-02 16:53:26 -05:00
Jess Lovelace
5398143f42 obsoleting tables for internal names 2022-02-02 16:31:24 -05:00
Jess Lovelace
f18615ae87 refactored device_t and all declarations 2022-02-02 16:31:22 -05:00
OBattler
3ba9c8c9c6 A fix to acpi.c. 2021-10-19 18:23:48 +02:00
OBattler
a394a33500 Conflict resolution. 2021-10-19 18:18:15 +02:00
RichardG867
5ae6530ce5 ACPI: Fix resume issue with P2B-LS 2021-10-18 23:29:51 -03:00
RichardG867
77244eda3e ACPI: Make sleep mode pause emulation instead 2021-10-18 22:29:48 -03:00
RichardG867
e05aab152a Implement I/O port traps on PIIX and VIA ACPI 2021-10-18 21:59:12 -03:00
RichardG867
878c92bf7f ACPI: Rework suspend types and remove bogus PMCNTRL mirrors (those are SMI traps instead) 2021-10-18 15:05:38 -03:00
RichardG867
6bf299cd41 Implement undocumented PMCNTRL mirrors on VIA 596 (unconfirmed), 686 (confirmed) and PIIX4 (unconfirmed) ACPI 2021-10-16 21:36:58 -03:00
RichardG867
128f32961d Replace WCF-681 with BCM GT694VA 2021-10-16 19:18:09 -03:00
OBattler
dbf13c4213 Merge remote-tracking branch 'origin/master' into feature/machine_and_kb 2021-10-07 15:48:35 +02:00
OBattler
430592ef2b ACPI suspend now supports suspend type 6 (officially reserved but used by eg. the ASUS P2B-LS) for soft power off. 2021-10-07 15:48:21 +02:00
Miran Grča
8ca1328c7e Merge pull request #1571 from 86Box/master
Bring the branch up to par with master.
2021-08-02 06:58:22 +02:00
OBattler
803ae780ac Removed excess ACPI logging and reverted a test AT NVR change that was never supposed to be committed, fixes OS/2 2.x. 2021-07-20 05:54:37 +02:00
OBattler
00a9894821 More AT NVR and VIA fixes - the Gigabyte GA-6VX-4X AMI BIOS (machine will be added on the WIP branch) works fine now. 2021-07-18 04:52:32 +02:00
OBattler
5fc73eee7b Various VIA fixes. 2021-07-17 06:01:27 +02:00
OBattler
3fa7579d66 Reverted excess ACPI logging. 2021-07-09 04:47:02 +02:00
OBattler
9cba2a91dc Reverted the PIT and Soyo 4SA2 changes. 2021-07-09 04:46:08 +02:00
Miran Grča
942170cea3 Merge pull request #1527 from 86Box/master
ACPI now always correctly generates a resume event on power on, fixes…
2021-07-05 00:01:20 +02:00
OBattler
87f8029378 ACPI now always correctly generates a resume event on power on, fixes the HP Vectra VEi 8, fixes #1444. 2021-07-05 00:00:08 +02:00
OBattler
4f6df76f10 Revert "Revert "Merge branch 'feature/machine_and_kb' into master""
This reverts commit f2cd3756dd.
2021-07-04 17:40:39 +02:00
Daniel Gurney
f2cd3756dd Revert "Merge branch 'feature/machine_and_kb' into master"
This reverts commit 6604a29d7e, reversing
changes made to 1d7fca0abd.
2021-07-04 18:22:52 +03:00
OBattler
15279e4964 Finished the ALi M15xx and removed from Dev branch. 2021-07-01 01:43:59 +02:00
OBattler
fd4817a87b All the current WIP work (warning: the PIT is currently using some temporary test rewrite that is going to be undone). 2021-06-29 19:11:19 +02:00
OBattler
bc3030fff7 Fixed the ACPI fixes from build #2941, Micronics Spitfire now works again. 2021-05-20 07:09:27 +02:00
OBattler
5faf4aa373 Some ACPI fixes. 2021-04-22 04:30:12 +02:00