This is a simple hello world driver written in c for linux.
- compile by running
make - run command
sudo insmod main.ko - run
lsmod|grep mainto check if it is loaded - run
dmesg|tail -1to view printed hello world message - run
make cleanto remove generated files - run
remod mainto remove the driver