Subject: Re: problem with bus_space_map
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Christian Groessler <cpg@aladdin.de>
List: tech-kern
Date: 02/11/2004 23:42:38
On 02/11/2004 08:44:23 PM CET Manuel Bouyer wrote:
>
>On Tue, Feb 10, 2004 at 10:06:37PM +0100, Christian Groessler wrote:
>>
>> It successfully loads, but when I unload it, the bus_space_unmap call
>> causes the machine to reboot.
>
>Do you have ddb compiled in your kernel ?
Yes, but it still recompiles w/o going into the debugger.
>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.
> Are you sure parts of it aren't already mapped ?
I think so (what should have mapped it?). But how can I see the
mappings which exist?
chris