current_thread_info

Adam Lackorzynski adam at os.inf.tu-dresden.de
Fri Aug 11 12:12:35 CEST 2006


On Fri Aug 11, 2006 at 12:05:42 +0200, Oskar Senft wrote:
> Is it right, that the function current_thread_info (and dependent
> functions like "current") should not be called from threads which are
> created by "l4lx_thread_create"?
> 
> I always get pagefaults while trying this ...
> *l4lx    | L4RM: [PF] read at 0x99999c50, ip 004f9afe, src E.16
> 
> Is there a possibility to enable this function?

You need to call l4x_prepare_irq_thread(current_thread_info()) in your
thread before doing anything serious in there.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list