A update
This commit is contained in:
10
include/drivers/pci.h
Normal file
10
include/drivers/pci.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifndef _PCI_H
|
||||
#define _PCI_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
uint32_t pci_config_read(uint8_t bus, uint8_t device, uint8_t function, uint8_t offset);
|
||||
void pci_config_write(uint8_t bus, uint8_t device, uint8_t function, uint8_t offset, uint32_t value);
|
||||
void pci_enumerate(void);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user