Memory Mapping Multiple Regions
From: Jake (jake_at_hotmail.com)
Date: 10/24/04
- Next message: Måns Rullgård: "Re: Memory Mapping Multiple Regions"
- Previous message: Pete Zaitcev (OTID1): "Re: Why use copy_from_user/copy_to_user ?"
- Next in thread: Måns Rullgård: "Re: Memory Mapping Multiple Regions"
- Reply: Måns Rullgård: "Re: Memory Mapping Multiple Regions"
- Reply: John Fusco: "Re: Memory Mapping Multiple Regions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 24 Oct 2004 14:31:39 +0100
Is it possible to memory map more than one area? I have a buffer in a
device driver which I can mmap to. But I would like a second buffer which
is can also be mmap'ed to. The only way I can think of doing it is to use
the ioctl() function to set a flag. This flag will indicate which buffer is
to be mmap'ed. Then when mmap is called the flag is checked and the
necessary action is taken.
Any ideas?
- Next message: Måns Rullgård: "Re: Memory Mapping Multiple Regions"
- Previous message: Pete Zaitcev (OTID1): "Re: Why use copy_from_user/copy_to_user ?"
- Next in thread: Måns Rullgård: "Re: Memory Mapping Multiple Regions"
- Reply: Måns Rullgård: "Re: Memory Mapping Multiple Regions"
- Reply: John Fusco: "Re: Memory Mapping Multiple Regions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|