bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oskit driver for i8042 keyboard controller


From: Marcus Brinkmann
Subject: Re: oskit driver for i8042 keyboard controller
Date: Sat, 9 Nov 2002 23:24:55 +0100
User-agent: Mutt/1.4i

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  <marcus@gnu.org>

        * 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    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]