How to access kernel memory?
Quoted 7 lines
There are several ways.For example:
1.You can create a character device , implement
its mmap function
to map the memory block you allcated.This can be done in a little
kernel module.There are some sample code before.
2.via/dev/mem,/dev/kmemetc
If allocating a block memory in the user space. I can use functions like "map_user_kiobuf()" to lock it in the physical memory and access it in the kernel space. Does there exist corresponding methods to give my application ability to directly access it without using any kinds of mem/character devices?
Quoted 22 lines
ÔÚ 2001-09-18 07:35:00 you wrote£º
Quoted 3 lines
Hi, All,
I allocated a block of memory in the kernel space.
But
Quoted 1 line
I don't know how to directly access kernel space
from
Quoted 10 lines
user space. Anyone can help me?
Thanks in advance.
piggie
__________________________________________________
Terrorist Attacks onU.S. - How can you help?
Donate cash, emergency relief information
Quoted 6 lines
http://dailynews.yahoo.com/fc/US/Emergency_Information/
Regards
Zhang Fuxin
[email protected]
__________________________________________________
Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/