Hello,
I have a driver that uses ZwQuerySystemInformation() to retrieve the
number of physical memory pages in a i386 system:
status = ZwQuerySystemInformation(
0,
&SystemInformation,
sizeof(SYSTEM_BASIC_INFORMATION),
&retsize);
Unfortunately, on Itanium-based systems the above call returns
STATUS_INFO_LENGTH_MISMATCH, probably because the ia64 version of
SYSTEM_BASIC_INFORMATION differs from that i386 one.
How does one determine the amount of physical memory in an Itanium-based
system?
Thanks,
Alex Goykhman