Commit History

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