Alice Wang
|
e6eedb81fc
Use byteorder for explicit endian types
|
2 жил өмнө |
Alice Wang
|
4f8de1d09c
Cargo fmt
|
2 жил өмнө |
Alice Wang
|
31429fbcda
Add protocols to support virtio socket device
|
2 жил өмнө |
Andrew Walbran
|
7656bb9a01
Allow HAL to validate MMIO ranges (#57)
|
2 жил өмнө |
Andrew Walbran
|
ab46d6f090
Implement Display for Error. (#56)
|
2 жил өмнө |
Andrew Walbran
|
0690500487
Return pointer rather than usize from Dma::vaddr.
|
2 жил өмнө |
Andrew Walbran
|
3e61797d15
Factor out helper function to construct a NonNull raw slice.
|
2 жил өмнө |
Andrew Walbran
|
66b081ebcf
Improve error reporting of VirtIOBlk (#52)
|
2 жил өмнө |
Andrew Walbran
|
43804de05b
Take token as parameter to pop_used rather than returning it.
|
2 жил өмнө |
Andrew Walbran
|
d0d47bcc0d
Add methods to Hal to share and unshare buffers with device.
|
2 жил өмнө |
Andrew Walbran
|
b8b1eb065d
Add some crate-level documentation and an example.
|
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 жил өмнө |
Andrew Walbran
|
13ed3419c7
Make dependencies explicit.
|
2 жил өмнө |
Andrew Walbran
|
633548725c
Rename Error::BufferTooSmall to QueueFull and improve documentation. (#43)
|
2 жил өмнө |
Andrew Walbran
|
090b912279
Add more documentation for VirtIOBlk and export SECTOR_SIZE constant.
|
2 жил өмнө |
Andrew Walbran
|
206f30ba4f
Improve non-blocking API of VirtIOBlk.
|
2 жил өмнө |
Andrew Walbran
|
8048887954
Use zerocopy rather than our AsBuf trait.
|
2 жил өмнө |
Andrew Walbran
|
af18ee53a7
Check size of config space (#29)
|
2 жил өмнө |
Andrew Walbran
|
043ab6a71b
Merge pull request #27 from rcore-os/pci
|
2 жил өмнө |
Andrew Walbran
|
382c0fd2ea
Expose PAGE_SIZE constant. (#35)
|
2 жил өмнө |
Andrew Walbran
|
6787ffb9b0
Test more things in CI (#33)
|
2 жил өмнө |
Andrew Walbran
|
4d8707ae12
Add module for PCI transport, with function to match device IDs.
|
2 жил өмнө |
Andrew Walbran
|
2298da2893
Make alloc optional.
|
2 жил өмнө |
Andrew Walbran
|
e28a1e05c8
Fix soundness issues with MMIO and shared memory (#18)
|
2 жил өмнө |
Andrew Walbran
|
62f3e4f262
Add fake transport and a test for console driver. (#17)
|
2 жил өмнө |
Andrew Walbran
|
a85ef07aa4
Check MMIO transport version at runtime.
|
2 жил өмнө |
Andrew Walbran
|
b33bd5c3b3
Support modern as well as legacy MMIO devices in example.
|
2 жил өмнө |
Andrew Walbran
|
95894f5240
Add modern MMIO transport.
|
2 жил өмнө |
Andrew Walbran
|
55200d895e
Add wrapper struct for legacy MMIO interface.
|
2 жил өмнө |