Sometimes what you know and what is are two different things.
The memory map in the registry is a reflection of the os view of memory,
not the bios view.
You made me go out to the lab and actually confirm reality:
Contents of HKEY_LOCAL_MACHINE\HARDWARE\RESOURCEMAP\System
Resources\Physical Memory
Boot with 2gb: (using maxmem)
630,784 9a000
14,680,064 E00000
2,130,378,752 7efb0000
2,145,689,600 7FE4A000
Boot with 4gb:
630,784 9a000
14,680,064 e00000
2,130,378,752 7efb0000
2,147,483,648 80000000
4,293,173,248 FFE4A000
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.co.in
Sent: Wednesday, March 28, 2007 11:47 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] How to get memory information
What i know is that /Maxmem is just a switch which is used by control
the RAM used by OS.
But the ranges in “HKEY_LOCAL_MACHINE.…\Physical Memory.Translated”
are the memory ranges given by BIOS to OS for OS use.
Bios is not going to care about some /Maxmem switch or how much memory
OS is going to use. So i think this should work.
But not 100% sure on this.
Thanks,
Dhirendra
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer