bug-hurd
[Top][All Lists]
Advanced

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

Re: I/O permission control in OSKit-Mach


From: Thomas Schwinge
Subject: Re: I/O permission control in OSKit-Mach
Date: Sun, 8 Apr 2007 12:16:25 +0200
User-agent: Mutt/1.5.11

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


reply via email to

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