Re: physical memory access

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 4 Mar 1999 16:33:51 +0000 (GMT)


> Physical memory is 1:1 mapped at PAGE_OFFSET (normally 0xc000000 on the
> x86). Just add PAGE_OFFSET to the address you really want to read.

Not all of memory is mapped this way. The main system ram and ISA space are.
PCI and other "high" memory area devices on a PC you need to use ioremap
to map them into the kernel space.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/