[Top] [All Lists]


To: Jim Paris <>
Subject: Re: ISA
From: "Maciej W. Rozycki" <>
Date: Tue, 18 Dec 2001 23:01:04 +0100 (MET)
In-reply-to: <>
Organization: Technical University of Gdansk
On Tue, 18 Dec 2001, Jim Paris wrote:

> 1) Isn't the purpose of ioremap to remap I/O memory addresses to
>    physical ones?  For an ISA architecture like mine, this means
>    it needs to add isa_slot_offset.

 Yes it is.  Also see Documentation/IO-mapping.txt and the Alpha port.

> 2) /proc/iomem should not contain system RAM.  The RAM is not 
>    in I/O memory space on my system, so why does it show up in the
>    iomem resource?  On x86, sure, I/O and RAM memory space are the
>    same, but they're not here.

 It *has to* contain the system RAM.  Otherwise a device driver would be
allowed to grab a chunk of that memory successfully, possibly destroying
the system.  Now it gets an error and can gracefully handle it if it tries
to get the memory for some, possibly legitimate reason. 

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>