Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Writing Device Drivers
Previous Next

Memory Mapping Overview

The steps that a driver must take to export device or kernel memory are as follows:

  1. Set the D_DEVMAP flag in the cb_flag flag of the cb_ops(9S) structure.

  2. Define a devmap(9E) driver entry point and optional segmap(9E) entry point to export the mapping.

  3. Use devmap_devmem_setup(9F) to set up user mappings to a device. To set up user mappings to kernel memory, use devmap_umem_setup(9F).

Previous Next

 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire