On Wed, 4 Jul 2001, Brian S. Julin wrote:
>
> 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.
OK. Is this fact Linux specific or is it OS independent?
> 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.
OK. Is this also valid for other OS's like *BSD, Win32, Solaris,
etc. ??
> > 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.
OK.
CU,
Christoph Egger
E-Mail: [EMAIL PROTECTED]