Skip to content

Venkata-N-Peetla/mmap_alloc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mmap_alloc

Example of Linux kernel driver that allows a user-space program to mmap a
buffer of contiguous non-cached physical memory.

Usage from user-level:

1. Find the major number assigned to the driver:

   grep mmap_alloc /proc/devices'

2. Create the special file (assuming major number 254)
   
   mknod /dev/mmap_alloc c 254 0


About

Linux driver that allows a user-space program to mmap a buffer of contiguous physical memory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%