---
name: "ioremap"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/ioremap"
---

# ioremap(9)

map bus memory into CPU space

## NAME

ioremap - map bus memory into CPU space

## SYNOPSIS

**void \_\_iomem \* ioremap(unsigned long** *offset***, unsigned long** *size***);**

## ARGUMENTS

*offset*

bus address of the memory

*size*

size of the resource to map

## DESCRIPTION

ioremap performs a platform specific sequence of operations to make bus memory CPU accessible via the readb/readw/readl/writeb/ writew/writel functions and the other mmio helpers. The returned address is not guaranteed to be usable directly as a virtual address.

## AUTHORS

**Matthew Wilcox** \<matthew@wil.cx\>

-

  Author.

**Alan Cox** \<alan@redhat.com\>

-

  Author.

## COPYRIGHT
