Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 931 Bytes

File metadata and controls

33 lines (27 loc) · 931 Bytes

KernelDriver

The goal of this project is to exchange data (like char*, struct...) between Userspace and Linux-Kernel.

How to try - Linux

Use this command line to compile and create a device file:

make all

To test the driver with myTest.c :

sudo ./myTest

Don't forget to unload the driver and remove the device file using :

make fclean

Must read to make it work

You may have to change the MAJOR variable from Makefile to compile and make it work.

Makefile variables.

You can find your MAJOR number at the first compilation using make all :