driverkit

Crates.iodriverkit
lib.rsdriverkit
version0.25.0
sourcesrc
created_at2018-10-02 03:47:03.769407
updated_at2023-02-27 23:09:45.876439
descriptionA driver framework defining standard types and interfaces for writing device drivers.
homepage
repositoryhttps://github.com/gz/rust-driverkit
max_upload_size
id87514
size80,564
Gerd Zellweger (gz)

documentation

README

Driverkit

Framework for writing and simplifying testing of device drivers. This is work in progress.

Components

  • iomem: managing memory for buffers used by devices such as network cards, disks, etc.
  • devq: a queue interface to talk to hardware descriptor queues.

Usage

Using the DevMem type on Linux will require Hugepages:

echo 100 >/proc/sys/vm/nr_hugepages_mempolicy
echo 4 > /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages_mempolicy
Commit count: 97

cargo fmt