mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 02:19:15 +00:00
feat(kernel/pci): add device initialization method for PCI devices
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -232,6 +232,7 @@ namespace PCI
|
||||
public:
|
||||
std::list<PCIDevice> GetDevices() { return Devices; }
|
||||
void MapPCIAddresses(PCIDevice Device, Memory::PageTable *Table);
|
||||
void InitializeDevice(PCIDevice Device, Memory::PageTable *Table);
|
||||
void EnumerateFunction(uint64_t DeviceAddress, uint32_t Function, PCIDevice dev);
|
||||
void EnumerateDevice(uint64_t BusAddress, uint32_t Device, PCIDevice dev);
|
||||
void EnumerateBus(uint64_t BaseAddress, uint32_t Bus, PCIDevice dev);
|
||||
|
Reference in New Issue
Block a user