aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..c3bec58
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,19 @@
+# Simple Block Device Driver
+Implementation of Linux Kernel 5.4.X simple block device.
+
+## Build
+- regular:
+`$ make`
+- with blk_mq support:
+uncomment `ccflags-y += -DBLK_MQ_MODE` in `Kbuild`
+- with requests debug info:
+uncomment `CFLAGS_sbdd.o := -DDEBUG` in `Kbuild`
+
+## Clean
+`$ make clean`
+
+## References
+- [Linux Device Drivers](https://lwn.net/Kernel/LDD3/)
+- [Linux Kernel Development](https://rlove.org)
+- [Linux Kernel Teaching](https://linux-kernel-labs.github.io/refs/heads/master/labs/block_device_drivers.html)
+- [Linux Kernel Sources](https://github.com/torvalds/linux)