简体   繁体   English

从Windows获取E820内存映射

[英]Getting E820 memory map from Windows

Is there a Win32 API or documented ddk function to get E820 memory map information? 是否有Win32 API或记录的ddk函数来获取E820内存映射信息? I am trying to avoid a hack but use documented API to get to this information. 我试图避免黑客入侵,但使用记录在案的API来获取此信息。 Thanks. 谢谢。

You can use WMI and the Device APIs to get the actual reserved memory ranges, which is more accurate than the BIOS-reported ones. 您可以使用WMI和设备API来获取实际的保留内存范围,该范围比BIOS报告的更准确。 If you really want the BIOS one, you'll have to write a device driver. 如果您确实需要BIOS,则必须编写设备驱动程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM