Skip to content

Vge0rge/sampleCharDeviceDriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample char device driver

This is a simple char device driver that I wrote and I wanted to publish here mostly for education purposes. This simple driver has a device that accepts messages and prints them when asked one by one. Each message has a limit and there is also a global limit of all messages combined.

Usage

make 
insmod charDeviceDriver.ko
mknod /dev/whaterverTheSysLogSays
cat "testMessage" > /dev/opsysmem
cat /dev/opsysmem

License

This project is licensed under the MIT License - see the LICENCE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published