feat(kernel/driver): implement built-in driver support

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
2025-03-02 21:34:16 +00:00
parent 426499090e
commit f824df9aad
12 changed files with 200 additions and 30 deletions

View File

@ -171,11 +171,13 @@ extern "C"
{
#endif
#ifndef __kernel__
PCIArray *GetPCIDevices(uint16_t Vendors[], uint16_t Devices[]);
void InitializePCI(PCIDevice *Device);
uint32_t GetBAR(uint8_t Index, PCIDevice *Device);
uint8_t iLine(PCIDevice *Device);
uint8_t iPin(PCIDevice *Device);
#endif // !__kernel__
#ifdef __cplusplus
}