Determining the Address Range of x86 MONITOR Commands Using the CPUID Command

The Intel MONITOR documentation says:

MONITOR monitoring command for address management using the address specified in EAX (the address range that the monitoring hardware checks for storage operations can be determined using the CPUID). Storage at an address in the specified address range launches monitoring hardware. Monitor hardware status used by MWAIT.

Does anyone know exactly what EAX value I have to provide the CPUID in order to get a "range of addresses that verifies the control hardware for storage operations using the CPUID".

Or is the MONITOR address range equal to the size of the cache line?

+3
source share
1 answer

I found the answer myself. This documentation contains: www.intel.com/Assets/PDF/appnote/241618.pdf

MONITOR / MWAIT Parameters (function 05h), i.e. EAX should be 5.

+4
source

Source: https://habr.com/ru/post/1792658/


All Articles