Andrew Walbran
|
5934187dd0
Add support for indirect descriptors in VirtQueue.
|
1 年之前 |
Andrew Walbran
|
c742f16d42
Use Default to reduce some duplicate code in tests.
|
1 年之前 |
Andrew Walbran
|
2b545f5eb0
Use AtomicBool for fake queue notification status.
|
2 年之前 |
Andrew Walbran
|
9a21715e0d
Factor out helper method to wait for queue.
|
2 年之前 |
Andrew Walbran
|
d5f0ae0f90
Use heap rather than DMA buffer for console RX buffer.
|
2 年之前 |
Andrew Walbran
|
713ac2f890
Update to latest version of bitflags crate.
|
2 年之前 |
conradgrobler
|
1bcb15cc9b
Clear receive token in Console Device (#62)
|
2 年之前 |
Andrew Walbran
|
62fbbdc164
Try taking buffers by reference rather than pointer.
|
2 年之前 |
Andrew Walbran
|
2caa561a86
VirtQueue::pop_used should also be marked as unsafe.
|
2 年之前 |
Andrew Walbran
|
b559de30f3
Notify device after adding buffers to available ring.
|
2 年之前 |
Andrew Walbran
|
6dc6eeeef3
Return Vec rather than taking mutable slice.
|
2 年之前 |
Andrew Walbran
|
819f8ca470
Test sending to console.
|
2 年之前 |
Andrew Walbran
|
72e5aaee34
Make queue size a const generic parameter.
|
2 年之前 |
Andrew Walbran
|
87b41425fb
Return raw slices rather than slice references from Dma.
|
2 年之前 |
Andrew Walbran
|
dc5c432861
Remove unnecessary index.
|
2 年之前 |
Andrew Walbran
|
608cd9f05d
Specify direction when allocating DMA regions.
|
2 年之前 |
Andrew Walbran
|
006c961f0c
Peek before popping.
|
2 年之前 |
Andrew Walbran
|
90d508a8aa
Unshare buffers in pop_used.
|
2 年之前 |
Andrew Walbran
|
43804de05b
Take token as parameter to pop_used rather than returning it.
|
2 年之前 |
Andrew Walbran
|
cdeb49198d
Make modules public rather than re-exporting all their contents.
|
2 年之前 |
Andrew Walbran
|
7d9ef6910f
Move devices into a separate module.
|
2 年之前 |