fixed more undefined symbols
This commit is contained in:
@@ -210,7 +210,7 @@ struct resource_descriptor
|
||||
uint8_t private;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
extern int pci_find_device(uint16_t device_id, uint16_t vendor_id, int index);
|
||||
extern uint16_t pci_find_device(uint16_t device_id, uint16_t vendor_id, int index);
|
||||
|
||||
extern uint32_t pci_read_config_longword(uint16_t handle, uint16_t offset);
|
||||
extern uint16_t pci_read_config_word(uint16_t handle, uint16_t offset);
|
||||
@@ -221,8 +221,8 @@ extern void pci_write_config_word(uint16_t handle, uint16_t offset, uint16_t val
|
||||
extern void pci_write_config_byte(uint16_t handle, uint16_t offset, uint8_t value);
|
||||
|
||||
extern struct resource_descriptor *pci_get_resource(uint16_t handle);
|
||||
extern void pci_hook_interrupt();
|
||||
extern void pci_unhook_interrupt();
|
||||
extern int16_t pci_hook_interrupt(uint16_t handle, void *interrupt_handler, void *parameter);
|
||||
extern int16_t pci_unhook_interrupt(uint16_t handle);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user