>I'll hook up VGA emulation from bochs to FreeMWare after
>I get back from this Y2K weekend.  Should be fun to
>see the VM running in a window.

Yeah, cool !

>On this topic, I think we'll need a way to notify the
>monitor about how our hardware is attached to the IO
>and memory spaces etc.  Am thinking of adding a set
>of ioctl() calls.
>
>  - allocate an IO port (range).  request either redirect
>    back to host user process, or pass-through (for the future).
>
>  - mark a physical memory page as being memory mapped IO.
>
>  - mark a physical memory page as being read-only (for BIOS ROM).
>
>  - perhaps request an IRQ be passed-through (for the future).
>
>With a few primitives like this, I can easily share the
>device emulation from bochs.

Can't we combine these ?  Have an ALLOCRSRC IOCTL call and give each resource
its own number.

-- Ramon


Reply via email to