Re: How to access kernel memory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,han han£¬
   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/kmem etc
   



ÔÚ 2001-09-18 07:35:00 you wrote£º
>Hi, All,
>
>I allocated a block of memory in the kernel space. But
>I don't know how to directly access kernel space from
>user space. Anyone can help me?
>
>Thanks in advance.
>
>piggie
>
>
>__________________________________________________
>Terrorist Attacks on U.S. - How can you help?
>Donate cash, emergency relief information
>http://dailynews.yahoo.com/fc/US/Emergency_Information/

Regards
            Zhang Fuxin
            fxzhang@ict.ac.cn



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux