irq: make IRQs dynamically mappable

This commit is contained in:
Michael Shaw 2023-05-04 22:10:23 -04:00
commit b8b67aadc9
7 changed files with 108 additions and 21 deletions

View file

@ -110,6 +110,7 @@ struct pci_header_type_1 {
void pci_init();
uint16_t pci_config_read_word(uint8_t bus, uint8_t slot, uint8_t func, uint8_t offset);
void pci_config_write_word(uint8_t bus, uint8_t slot, uint8_t func, uint8_t offset, uint16_t data);
struct pci_device *pci_find_device(uint8_t class, uint8_t subclass);
#endif /* _PCI_H_ */

View file

@ -9,6 +9,7 @@
void isr_serial_input();
void isr_serial_input_1();
void serial_write(char c);
void serial_trap();
int serial_init();
#endif