Julian Hall wrote:
> The only thing I haven't really been able to work it is what will happen
> when the monitor encounters a breakpoint instruction that it didn't place?
> I would've assumed that the traditional approach would be to reflect it
> back into the system.  How do we arrange the interface with the user module
> to cause this not to happen?

Well, what I had in mind was this:  we'll need to
have a general allocation mechanism for all plugins,
so they can allocate memory, I/O ports, interrupts,
etc.  When a plugin (which could be the debugger)
allocates an interrupt, when the interrupt occurs
it is reflected into the user program to the plugin.
When the plugin is done handling the interrupt it
can then specify to the kernel module

- either that the interrupt should ALSO occur
  in the VM
- or that the interrupt is completely handled
  by the plugin, in which case the guest never
  notices the interrupt has occured.

-- Ramon

Reply via email to