On Fri, Nov 08, 2002 at 10:15:51PM -0500, Roland McGrath wrote:
> > Another serious bug is that my I/O permission stuff is not working properly.
> > There seems to be a race of some sort.
> 
> In that case you really want to put a bkpt at i386_exception or suchlike
> and find exactly what is happening.

I didn't update the io bitmap offset at all task switches.  I only covered
stack_handoff and not switch_context.  I don't really understand what each
is used for, but it's quite obvious that it is needed in both and testing
verified the following change:

2002-11-09  Marcus Brinkmann  <[EMAIL PROTECTED]>

        * i386/i386/pcb.c (switch_context): Update the I/O permission
        bitmap from stack_handoff() here (not only in stack_handoff()).
 
Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    [EMAIL PROTECTED]
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de/


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to