Question

Intel's documentation of MONITOR says:

The MONITOR instruction arms address monitoring hardware using an address specified in EAX (the address range that the monitoring hardware checks for store operations can be determined by using CPUID). A store to an address within the specified address range triggers the monitoring hardware. The state of monitor hardware is used by MWAIT.

So does anyone know exactly what value of EAX should i supply to CPUID to get "the address range that the monitoring hardware checks for store operations can be determined by using CPUID".

Or is the MONITOR address range just size of a cache line?

Was it helpful?

Solution

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

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top