summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/pci.h2
-rw-r--r--src/include/pc80/i8259.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/include/device/pci.h b/src/include/device/pci.h
index ad005cfe89..df9e80dbbb 100644
--- a/src/include/device/pci.h
+++ b/src/include/device/pci.h
@@ -73,7 +73,7 @@ unsigned pci_find_capability(device_t dev, unsigned cap);
struct resource *pci_get_resource(struct device *dev, unsigned long index);
void pci_dev_set_subsystem(device_t dev, unsigned vendor, unsigned device);
void pci_dev_init(struct device *dev);
-void pci_level_irq(unsigned char intNum);
+
void pci_assign_irqs(unsigned bus, unsigned slot,
const unsigned char pIntAtoD[4]);
diff --git a/src/include/pc80/i8259.h b/src/include/pc80/i8259.h
index 48e8df58d9..c55ae21557 100644
--- a/src/include/pc80/i8259.h
+++ b/src/include/pc80/i8259.h
@@ -22,4 +22,8 @@
void setup_i8259(void);
+#define IRQ_LEVEL_TRIGGERED 1
+#define IRQ_EDGE_TRIGGERED 0
+void i8259_configure_irq_trigger(int int_num, int is_level_triggered);
+
#endif /* PC80_I8259_H */