[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
itself.
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 :).
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
- Hurd on Mach on GNU/Linux (verion 0.0.0), John Tobey, 2001/11/18
- Re: Hurd on Mach on GNU/Linux (verion 0.0.0), Roland McGrath, 2001/11/18
- Re: Hurd on Mach on GNU/Linux (verion 0.0.0), John Tobey, 2001/11/18
- Kernel crash on device_map DEVICE_NULL, John Tobey, 2001/11/22
- Re: Kernel crash on device_map DEVICE_NULL, Roland McGrath, 2001/11/23
- Re: Kernel crash on device_map DEVICE_NULL, John Tobey, 2001/11/24
- Re: Kernel crash on device_map DEVICE_NULL, Roland McGrath, 2001/11/24
- cruft and forks, John Tobey, 2001/11/24
- Re: cruft and forks, Marcus Brinkmann, 2001/11/25
- Re: cruft and forks, John Tobey, 2001/11/25
Re: Hurd on Mach on GNU/Linux (verion 0.0.0), Farid Hajji, 2001/11/19