Hi L4Linux experts! 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? Regards Oskar. -- Sirrix AG security technologies - http://www.sirrix.com Oskar Senft eMail: o.senft@sirrix.com Tel +49 (681) 936 251 - 119 Fax +49 (681) 936 251 - 519 get public key from keyserver Fingerprint 6FC6 3E44 233F 7F4B 33C7 A8D0 2EDA F3BA B5A3 0BA4 This message may contain confidential and/or privileged information. If you are not the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message.
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@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
participants (2)
-
Adam Lackorzynski -
Oskar Senft