Download Linux Kernel and Driver Development Training
Transcript
How to Implement mmap - Kernel Space ◮ Character driver: implement an mmap file operation and add it to the driver file operations: int (*mmap) ( struct file *, struct vm_area_struct * ); ◮ /* Open file structure */ /* Kernel VMA structure */ Initialize the mapping. ◮ Can be done in most cases with the remap_pfn_range() function, which takes care of most of the job. Free Electrons. Embedded Linux, kernel, drivers and Android development, consulting, training and support. http://free-electrons.com 451/473
Related documents
Linux Kernel and Driver Development Training Linux Kernel and
1MA268_e_IVINET_Drivers
Linux Kernel and Android Development Class Linux
Manual - Brand Innovators of Digital Products
Altera - RocketBoards.org
Workshop on Computer Architecture Education
WS3 – Developing Drivers for Altera SoC
Development of a Linux Driver for a MOST Interface and Porting to
HARDWARE MANUAL
User Manual - Mistral Solutions
IBM Research Report PowerNap: An Efficient Power Management
Real-Time and Embedded Guide