physical memory for user space application
Hi There,
I want to access the physical memory associated
with a user space application.
From my driver I would like to:
- Lock down a range of memory (ensure that it is
not paged out)
- Get a mapping of the corrosponding phyiscal
memory i.e. I would like to be able to read the physical memory directly.
- I don't want to use the proc file system.
Can anyone tell me what the fucntions and / or
data structures are to acomplish this?
Cheers
Dave Sharp
__________________________________________________________
Find your next car at http://autos.yahoo.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
you can use ioctls for tranfering data from user space to kernel space
regards
Manohar.
Quoted 24 lines · Dave B. Sharp
Hi There,
I want to access the physical memory associated
with a user space application.
From my driver I would like to:
- Lock down a range of memory (ensure that it is
not paged out)
- Get a mapping of the corrosponding phyiscal
memory i.e. I would like to be able to read the physical memory directly.
- I don't want to use the proc file system.
Can anyone tell me what the fucntions and / or
data structures are to acomplish this?
Cheers
Dave Sharp
Quoted 8 lines
__________________________________________________________
Find your next car at http://autos.yahoo.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Hi Manohar,
Thanx, much apreciated. Which driver do I send the
ioctl to? Is it possible to pin down the memory in question or is that done implicitly? I know in Windoze this can be done.
Cheers
Dave
--- "P.Manohar" <[email protected]>
Quoted 10 lines · wrote:
you can use ioctls for tranfering data from user
space to kernel spaceregards
Manohar.Quoted 1 line · Dave B. Sharp
Quoted 26 lines
Quoted 6 lines
Hi There,
I want to access the physical memory associated
with a user space application.
From my driver I would like to:
- Lock down a range of memory (ensure that itis
Quoted 18 lines
not paged out)
- Get a mapping of the corrosponding phyiscal
memory i.e. I would like to be able to read the
physical memory directly.
- I don't want to use the proc file system.
Can anyone tell me what the fucntions and / or
data structures are to acomplish this?
Cheers
Dave Sharp
__________________________________________________________
Quoted 11 lines
Quoted 3 lines
Find your next car at http://autos.yahoo.ca
-
To unsubscribe from this list: send the line"unsubscribe linux-newbie" in
Quoted 2 lines
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 1 line
Please read the FAQ at
http://www.linux-learn.org/faqs
Quoted 1 line
__________________________________________________________
Find your next car at http://autos.yahoo.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs