Direct mapping memory in popular OS?
Posted: Mon Mar 09, 2009 2:50 am
Hi,
I am wondering if any other popular OS use the same direct mapping memory as Linux?
In Linux, they can translate virtual address to physical address using the formula:
physical-addr = virtual-addr - 0xC0000000
This is called "direct-mapping" in Linux. Of course to use the above formula, the virtual address must falls with a particular range (like [0xC0000000, 0xC0000000+896MB].
My question is: is there any other OS use the same "direct-mapping" technique?
I am particular interested in the answer for popular OS like *BSD, MacOSX, *nix.
Thanks a lot,
J
I am wondering if any other popular OS use the same direct mapping memory as Linux?
In Linux, they can translate virtual address to physical address using the formula:
physical-addr = virtual-addr - 0xC0000000
This is called "direct-mapping" in Linux. Of course to use the above formula, the virtual address must falls with a particular range (like [0xC0000000, 0xC0000000+896MB].
My question is: is there any other OS use the same "direct-mapping" technique?
I am particular interested in the answer for popular OS like *BSD, MacOSX, *nix.
Thanks a lot,
J