> What is the usual way to access physical ram instead of virtual ram?
>From User- oder Kernelspace ?
User: map /dev/mem into your own process address space.
> How can I convert addresses between physical and virtual ram?
That usually requires Kernel help, if you want to know the physical address
of a virtual address in a process.
> How can I distinguish, whether I access to physical or virtual ram?
You always access virtual RAM, the access goes through the mapping table,
eventually throwing Exceptions to get stuff swapped in and then transparently
goes to some physical RAM. So basically you always access both :-).
CU, Andy
--
Andreas Beck | Email : <[EMAIL PROTECTED]>