[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel crash on device_map DEVICE_NULL

From: Marcus Brinkmann
Subject: Re: Kernel crash on device_map DEVICE_NULL
Date: Fri, 23 Nov 2001 12:56:39 +0100
User-agent: Mutt/1.3.23i

On Fri, Nov 23, 2001 at 12:02:35AM -0500, John Tobey wrote:
> There sure are a lot of #ifdef i386 sections in dev_lookup.c and
> ds_routines.c, and they don't seem to have anything to do with the
> i386 architecture.  They seem to select whether devices use the
> dispatch table defined in i386/i386at/device_emul.h.

It took me some time to figure it out.  This stuff is related to
the integration of the Linux device drivers into Mach.  The Linux device
drivers ever only worked for i386, I guess that's why it uses this symbol,
but of course you are right, there is nothing i386 specific in the code

The code diddles round a bit what happens when receiving device messages.
All this is simplified in oskit-mach.   It's best if you don't spent too
much time worrying over this, and just hack in whatever works for you (call
it a counter hack :).


`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]