Subject: Re: SSP read with kernel thread (one more patch)
To: IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: port-hpcarm
Date: 09/11/2002 07:05:41
> Sorry for my ignorance of kernel thread.  Do the keyboard read and
> the touchpanel read run exclusively?  How can we avoid multiple
> entries to j720ssp_readwrite()?

Mmm, you are right, I did not take care of this properly. The easiest
way is probably to have only one kernel thread (I'll call it j720ssp)
that has 3 states: 
- sleeping (waiting for a wakeup from tp or kbd interrupt)
- performing a read on kbd
- performing a read on tp

I have to think about it a bit more.

-- 
Emmanuel Dreyfus.  
Avec Windows 3.1 ils etaient au bord du gouffre...
Avec Windows 95 ils ont fait un grand bon en avant.
manu@netbsd.org