Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Usage of mmap command
@ 2007-11-20  6:39 kaka
  2007-11-20  8:29 ` [directfb-dev] " Denis Oliver Kropp
  0 siblings, 1 reply; 4+ messages in thread
From: kaka @ 2007-11-20  6:39 UTC (permalink / raw)
  To: linux-mips, uclinux-dev, celinux-dev, linux-fbdev-users
  Cc: directfb-users, directfb-dev

[-- Attachment #1: Type: text/plain, Size: 617 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 872 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-20 10:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-20  6:39 Usage of mmap command kaka
2007-11-20  8:29 ` [directfb-dev] " Denis Oliver Kropp
2007-11-20  9:40   ` kaka
2007-11-20 10:42     ` Denis Oliver Kropp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox