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

Virtual Memory Functions

The virtual memory functions are:

ddi_btop()

Convert device bytes to pages (round down)

ddi_btopr()

Convert device bytes to pages (round up)

ddi_ptob()

Convert device pages to bytes

btop()

Convert size in bytes to size in pages (round down)

btopr()

Convert size in bytes to size in pages (round up)

ptob()

Convert size in pages to size in bytes

Table B-11 Deprecated Virtual Memory Functions

Deprecated Functions

Replacement

hat_getkpfnum()

devmap(), ddi_dma_*_bind_handle(), ddi_dma_nextcookie()

Previous Next

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