Skip to contentSkip to conversation

how to allocate 9MB of memory in kernel ?

DISCUSSION Siva Prasad 1 participant 1 message Jul 17, 2008 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Misbah,

May be I am missing some thing. I am sure you looked at the obvious.

Is there any reason why you are not using blocked read in application pthread (a separate thread if necessary), so that driver provides that value back to the application. Isn't that the right way to implement?

- Siva

Misbah khan <[email protected]> wrote:

In have a sdram of size 9MB which i would map to kernel space (ioremap would
do that ) the whole 9 MB kernel virtual memory i need to map to the application , the application would read when driver has complited writing
and vice versa this implimentation would be in a circular buffer type. The
size of my RAM is 128 MB=20