pkg_cstate_update will perform side-effects such as putting the processor to sleep or waking it up, and call the cstate notification listeners.
SIM_INTERFACE(x86_pkg_cstate) { x86_cstate_t (*get_pkg_cstate)(conf_object_t *cpu_obj); void (*set_pkg_cstate)(conf_object_t *cpu_obj, uint32 state, uint32 sub_state); void (*pkg_cstate_update)(conf_object_t *cpu_obj, bool notify); }; #define X86_PKG_CSTATE_INTERFACE "x86_pkg_cstate"