On Wed, 4 Jul 2001, Christoph Egger wrote:
> What is the usual way to access physical ram instead of virtual ram?
> How can I convert addresses between physical and virtual ram?

Same way/addresses you do virtual RAM.  With physical RAM, you would 
have to have a way to get non-swappable pages from the kernel.  I
think there might be some code/ioctl to do this in newer Linux kernels, but
am not sure.  In either case, older Linux cannot guarantee physical
RAM, so we should fail requests for it under Linux for now.

> How can I distinguish, whether I access to physical or virtual ram?

You have to remember from the time that you get the RAM what kind it is.

--
Brian

Reply via email to