Rework PCI ata and serial drivers, program according to the progif byte

This commit is contained in:
2025-11-29 02:15:44 +01:00
parent 3183117718
commit 118f5cb81a
9 changed files with 323 additions and 226 deletions

View File

@@ -0,0 +1,14 @@
#ifndef PCI_SERIAL_SERIAL_H_
#define PCI_SERIAL_SERIAL_H_
#include <stdint.h>
#include <stddef.h>
typedef struct {
uint16_t iobase;
int lockstate;
} PciSerialDev;
void pci_serial_init(void);
#endif // PCI_SERIAL_SERIAL_H_