Hello!
On Sun, Apr 08, 2007 at 12:16:25PM +0200, I wrote:
> 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-Is coming up with a new kernel object class and a new zalloc zone the way to go for GNU Mach? Something like a combination of a ``struct device'' and a ``io_port_t from, to''? Regards, Thomas
signature.asc
Description: Digital signature
_______________________________________________ Bug-hurd mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-hurd
