.\" Title: phys_to_virt
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.70.1
.\" Date: July 2007
.\" Manual: Public Functions Provided
.\" Source: Kernel Hackers Manual 2.6.22
.\"
.TH "PHYS_TO_VIRT" "9" "July 2007" "Kernel Hackers Manual 2.6.22" "Public Functions Provided"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
phys_to_virt \- map physical address to virtual
.SH "SYNOPSIS"
.HP 20
.BI "void * phys_to_virt(unsigned\ long\ " "address" ");"
.SH "ARGUMENTS"
.TP 3n
\fIaddress\fR
address to remap
.SH "DESCRIPTION"
.PP
The returned virtual address is a current CPU mapping for the memory address given. It is only valid to use this function on addresses that have a kernel mapping
.PP
This function does not handle bus mappings for DMA transfers. In almost all conceivable cases a device driver should not be using this function
.SH "AUTHORS"
.PP
\fBMatthew\fR \fBWilcox\fR
.sp -1n
.IP "" 3n
Author.
.PP
\fBAlan\fR \fBCox\fR
.sp -1n
.IP "" 3n
Author.
.SH "COPYRIGHT"