On Mon, Apr 02, 2007 at 01:26:51PM -0700, Roland McGrath wrote:
> The old device_emulation_ops stuff in i386at is similar,
> i.e. it provides hooks to implement the device RPCs.

But where would be the correct place in GNU Mach to store these
``io_port_t from, to'' values?

[OSKit-Mach]/oskit/ds_oskit.h
#v+
struct device {
[...]
  union {
    struct {
      oskit_blkio_t *io;
      oskit_u32_t size;         /* block size */
#define MAX_PARTS 30
      diskpart_t *parts;
    } blk;
[...]
#if defined(__i386__)
    struct
    {
      io_port_t from, to;
    } io_perm;
#endif
  } com;
};
#v-


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to