1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:27:34 +00:00

Kernel/PCI: Add basic support for the VMD PCI bridge device

This commit is contained in:
Liav A 2022-01-15 09:17:07 +02:00 committed by Andreas Kling
parent df73e8b46b
commit eb9c8f3895
7 changed files with 161 additions and 2 deletions

View file

@ -38,6 +38,8 @@ public:
Spinlock const& scan_lock() const { return m_scan_lock; }
Mutex const& access_lock() const { return m_access_lock; }
void add_host_controller_and_enumerate_attached_devices(NonnullOwnPtr<HostController>, Function<void(DeviceIdentifier const&)> callback);
private:
u8 read8_field(Address address, RegisterOffset field);
u16 read16_field(Address address, RegisterOffset field);