Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bufferDriver

Linux kernel character device driver demonstrating basic driver operations.

Overview

A simple Linux kernel module that implements a character device driver with buffer operations. Demonstrates kernel-space programming, ioctl interface, and user-space interaction.

Features

  • Character device driver (/dev/buffer_driver)
  • Read/write operations
  • ioctl commands for control
  • Memory buffer management
  • Test application included

Build & Test

# Build kernel module and test app
./build_and_test.sh

# Load module
sudo insmod buffer_driver.ko

# Run test
./test_buffer

Structure

├── Makefile              # Kernel module build
├── buffer_driver.c      # Driver implementation
├── test_buffer.c        # User-space test app
└── build_and_test.sh    # Build script

Requirements

  • Linux kernel headers
  • GCC, Make
  • Root access for module loading

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages