- Inside of
proc_driverrun:
make
sudo insmod simple_device.ko
- Inside of user_code run
make
Inside of user_code try running the following:
sudo ./write "hello world"
./read
./seek 1
./read
sudo ./write "In register 1"
./seek 0
./read
./seek 1
./read
Run: sudo rmmod simple_device