On Mon, 18 Dec 2000, Aaron Optimizer Digulla wrote:

> On Mon, Dec 18, 2000 at 02:31:30PM +0100, Ramon van Handel wrote:
> 
> > >Well, can't we simply use the MMU to mark pages where MMIO can happen
> > >and then use the page fault to process them ? This way, we don't
> > >need to care about checking addresses. We only check them when a
> > >fault happens.
> > 
> > Sure, that's the way it works now.  It's slow though.  I want to speed it
> > up (but there are several tricks to do that.)
> 
> Well, in that case: How about using something which Virus checkers do:
> 
> - Search for specific pieces of code
Trapping is more efficient. It will automatically run at maximum possible
speed until the MMIO is detected.

> - Look them up in a translation library
> - Run the translated code
> 
That's not trivial and probably would result in kind of emulation.
Uhus


Reply via email to