Problem of l4lx_thread kmalloc
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Tue Aug 22 12:46:05 CEST 2006
Hi,
On Tue Aug 22, 2006 at 19:34:04 +0900, 강후영 wrote:
> I created l4lx_threads by "l4lx_thread_create()".
> But when these threads alloccate some memory by kmalloc(), fault error always occurs as fallow,
>
> l4lx | L4RM: [PF] read at 0x999999b0, eip 0042e30a, src E.0B
> l4lx | [E.0] l4rm/lib/src/pagefault.c:78:__unknown_pf():
> l4lx | unhandled page fault
>
> What is the problem?
You need to call l4x_prepare_irq_thread(current_thread_info()); early in
your thread. That could fix the fault for you.
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