#driver #os #framework

nightly bin+lib driverkit

A driver framework defining standard types and interfaces for writing device drivers

14 breaking releases

0.16.0 Apr 19, 2022
0.14.0 Apr 18, 2022
0.13.0 Dec 10, 2021
0.11.0 Sep 30, 2021
0.2.0 Oct 2, 2018

#119 in Hardware support

Download history 23/week @ 2022-01-27 6/week @ 2022-02-03 3/week @ 2022-02-10 17/week @ 2022-02-17 8/week @ 2022-02-24 23/week @ 2022-03-03 40/week @ 2022-03-10 49/week @ 2022-03-17 2/week @ 2022-03-24 4/week @ 2022-03-31 8/week @ 2022-04-07 95/week @ 2022-04-14 40/week @ 2022-04-21 137/week @ 2022-04-28 104/week @ 2022-05-05 271/week @ 2022-05-12

585 downloads per month
Used in processortrace

MIT/Apache

50KB
1K SLoC

Build Status

Driverkit

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

License

See LICENSE files.

Authors

Gerd Zellweger, Reto Achermann, Erika Hunhoff, Ankit Bhardwaj

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

Dependencies

~3–5MB
~64K SLoC