Fix implicit defs

This commit is contained in:
Ali Mashtizadeh 2014-07-05 23:10:17 -07:00
parent fdb5c1b2c8
commit 504d962949

View File

@ -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()
{