Andrew Walbran
|
8187f6fd94
Use more flexible virtqueue layout when possible.
|
hace 2 años |
Andrew Walbran
|
cdeb49198d
Make modules public rather than re-exporting all their contents.
|
hace 2 años |
Andrew Walbran
|
576e481e86
Reset queues when device is dropped. (#30)
|
hace 2 años |
Andrew Walbran
|
af18ee53a7
Check size of config space (#29)
|
hace 2 años |
Andrew Walbran
|
6d94dc7746
Use u16 for queue indices.
|
hace 2 años |
Andrew Walbran
|
4d8707ae12
Add module for PCI transport, with function to match device IDs.
|
hace 2 años |
Andrew Walbran
|
86df3df767
Implement From for DeviceType rather than using transmute.
|
hace 2 años |
Andrew Walbran
|
233cf1c113
Don't unset bits in the device status field. (#24)
|
hace 2 años |
Andrew Walbran
|
62f3e4f262
Add fake transport and a test for console driver. (#17)
|
hace 2 años |
Andrew Walbran
|
ea34476f3b
Use NonNull for Transport::config_space.
|
hace 2 años |
Andrew Walbran
|
b33bd5c3b3
Support modern as well as legacy MMIO devices in example.
|
hace 2 años |
Andrew Walbran
|
2905932e70
Allow transport to use 64-bit addresses for queue rather than PFN.
|
hace 2 años |
Andrew Walbran
|
271b8d104f
Make config space pointer part of Transport trait.
|
hace 2 años |
Andrew Walbran
|
fb8bff9ade
Factor out trait for Virtio transport.
|
hace 2 años |