Fix implicit defs
This commit is contained in:
parent
fdb5c1b2c8
commit
504d962949
@ -6,6 +6,20 @@
|
||||
|
||||
void PCI_ScanBus();
|
||||
|
||||
// Platform functions
|
||||
uint8_t PCICfgRead8(uint32_t bus, uint32_t slot, uint32_t func, uint32_t reg);
|
||||
uint16_t PCICfgRead16(uint32_t bus, uint32_t slot, uint32_t func, uint32_t reg);
|
||||
uint32_t PCICfgRead32(uint32_t bus, uint32_t slot, uint32_t func, uint32_t reg);
|
||||
void PCICfgWrite8(uint32_t bus, uint32_t slot, uint32_t func,
|
||||
uint32_t reg, uint8_t data);
|
||||
void PCICfgWrite16(uint32_t bus, uint32_t slot, uint32_t func,
|
||||
uint32_t reg, uint16_t data);
|
||||
void PCICfgWrite32(uint32_t bus, uint32_t slot, uint32_t func,
|
||||
uint32_t reg, uint32_t data);
|
||||
|
||||
// Supported Devices
|
||||
void AHCI_Init(uint32_t bus, uint32_t device, uint32_t func);
|
||||
|
||||
void
|
||||
PCI_Init()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user