how to get memory's physical address in user-mode?

LongdaFeng at viatech.com.cn LongdaFeng at viatech.com.cn
Mon Dec 10 00:44:00 PST 2007


Dear friends:

         I am sorry for asking this question here? 

But it trouble me much, and thank you very much whatever you suggest!!!!!

 

         The question is as down:

         I malloc 16k memory in user mode

         (1) how to make this memory reserved, it means that it can’t be swap out 

         (2) how to get this memory’s physical address

 

         I know the method implement this in kernel mode, but I don’t know how to do this in user mode.

 

         Thank you very much!!!

 

Best regards

Longda Feng

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20071210/3a02c395/attachment.html>


More information about the xorg mailing list