[uClinux-dev] Usage of mmap command

kaka share.kt at gmail.com
Tue Nov 20 01:39:26 EST 2007


Hi All,

void *mmap(void *start, size_t length, int prot, int flags,           int
fd, off_t offset);

I am providing 16,00,000 as length parameter in mmap command.
It is giving me error as Can't mmap region. on the other hand when i am
providing 9,00,000 as length parameter in mmap command.
It is successful.
This mmap command is being issued from User space.

On the other hand in the framebuffer driver in the kernel spce i have
specified the length of mmio in the ioremap as 16,00,000.

Can anybody provide any clue on it?
I want to access the mmio regs at offset ( 0 to  16,00,000).

-- 
Thanks & Regards,
kaka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20071120/39556c8c/attachment.html


More information about the uClinux-dev mailing list