x86_monitor x86_rar_interrupt
API Reference Manual  /  5 Model-to-Simulator Interfaces  / 

x86_monitor_notification

Description
This interface is meant to be implemented by a processor to support complex cases of MONITOR/MWAIT instruction pair. A processor will be notified about writes to the monitored write-back memory range through the notify method. The return value indicates whether to unsubscribe from notifications or not. See x86_monitor_interface_t to find out how to subscribe for write notifications to a write-back memory range.
SIM_INTERFACE(x86_monitor_notification) {
        bool (*notify)(conf_object_t *obj);
};

#define X86_MONITOR_NOTIFICATION_INTERFACE "x86_monitor_notification"

Execution Context
Cell Context.

x86_monitor x86_rar_interrupt