mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
Kernel/PCI: Add basic support for the VMD PCI bridge device
This commit is contained in:
parent
df73e8b46b
commit
eb9c8f3895
7 changed files with 161 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
namespace Kernel::PCI {
|
||||
|
||||
class MemoryBackedHostBridge final : public HostBridge {
|
||||
class MemoryBackedHostBridge : public HostBridge {
|
||||
public:
|
||||
static NonnullOwnPtr<MemoryBackedHostBridge> must_create(Domain const&, PhysicalAddress);
|
||||
|
||||
|
@ -25,7 +25,7 @@ public:
|
|||
virtual u16 read16_field(BusNumber, DeviceNumber, FunctionNumber, u32 field) override;
|
||||
virtual u32 read32_field(BusNumber, DeviceNumber, FunctionNumber, u32 field) override;
|
||||
|
||||
private:
|
||||
protected:
|
||||
MemoryBackedHostBridge(PCI::Domain const&, PhysicalAddress);
|
||||
|
||||
// Memory-mapped access operations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue