[okl4-developer] vLCD Server: virtual_lcd_set_fb_impl
Lukas HANEL
lukas.hanel at st.com
Thu Jul 10 22:42:26 EST 2008
Hi,
in my quest to port an LCD driver to OKL4 I have now passed the
initialization of my driver code. I am now at the point, where the vlcd
client provides the physical memory region to the fb. In the vlcd-server
the function
> new_paddr = memsection_virt_to_phys(new_vaddr, &new_size);
returns an error value.
What to do?
First of all, I extended the drivers example with the code provided by
the driver porting tutorial. What seems odd to me is, that a client
virtual address is transfered via IPC to the server. Afterwords, the
function
> iguana_memsection_virt_to_phys_impl
returns with
> interfaces = security_check(thread_lookup(_caller)->owner,
(uintptr_t)ms);
> if (interfaces == L4_NoAccess){
> return -2;
> }
What should I do? In how far is the current code for vlcd server + some
client(okl4-2.1) running?
thanks,
Lukas Hänel
More information about the Developer
mailing list