[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: |
Wed, 11 Apr 2007 18:08:07 +0200 |
User-agent: |
Mutt/1.5.11 |
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