Subject: Re: problem with bus_space_map
To: Christian Groessler <cpg@aladdin.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 02/12/2004 12:03:48
On Wed, Feb 11, 2004 at 11:42:38PM +0100, Christian Groessler wrote:
> >I didn't see anything wrong in you code, but what is this MEM area you're
> >trying to map ?
> 
> It's a dual processor i486 + i860 board. One can split the installed
> memory btw. the two processors. The i486 mem starts at address 0
> growing upwards, and the i860 mem starts at 0xffffffff growing
> downwards.
> 
> I want to map the i860 memory to be able to load i860 programs and run
> them there.

Is it the same chunk of memory shared by both processors, or 2 processors
with their own memory, and interconnected by some I/O bus (e.g. isa or PCI) ?
bus_space deals with the second case, but not the first. For the first case,
you can map it using UVM functions.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--