Rewrite interrupt handling in coreboot to be more comprehensible and
more flexible. Also some minore device allocator cleanups that sneaked in. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4452 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
c366cd0650
commit
4d933dd2d6
@@ -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]);
|
||||
|
||||
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user