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 [EMAIL PROTECTED] Marcus Brinkmann GNU http://www.gnu.org [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.marcus-brinkmann.de _______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd