On Sun, Dec 31, 2006 at 12:30:24PM +0100, Samuel Thibault wrote: > There's something I don't understand in > i386/i386at/i386at_ds_routines.c:ds_notify() > > dev = (device_t) ns->not_header.msgh_remote_port; > > How a port can be a device_t?
In include/mach/message.h: typedef struct { ... mach_port_t msgh_remote_port; ... } mach_msg_header_t; and in include/device/device_types.h typedef mach_port_t device_t; I'm not totally sure of what you call a `port' in your question. -- Richard Braun
signature.asc
Description: Digital signature
_______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd