PCI turbo reset control and PCI initialization functions now reset the ELCR registers, the PIC, and the PCI IRQ statuses, fixes PCI cards being stuck unable to issue IRQ's after soft and hard resets.

This commit is contained in:
OBattler
2017-06-21 19:42:36 +02:00
parent 8ce19c2386
commit 585c08d156
4 changed files with 43 additions and 16 deletions

View File

@@ -1,3 +1,5 @@
void elcr_reset(void);
void pci_init(int type);
void pci_slot(int card);
void pci_add_specific(int card, uint8_t (*read)(int func, int addr, void *priv), void (*write)(int func, int addr, uint8_t val, void *priv), void *priv);