This interface is internal and may change without notice.
The unplug_core method is to disable an operating core with all threads on it. The replug_core method is to enable a core previously unplugged with all threads on it. The disable_ht_package method is to disable every secondary thread. The enable_ht_package method is to enable every secondary thread.
Values returned from these methods indicate success (1) or failure (0).
SIM_INTERFACE(x86_unplug) { int (*unplug_core)(conf_object_t *obj); int (*replug_core)(conf_object_t *obj); int (*disable_ht_package)(conf_object_t *obj); int (*enable_ht_package)(conf_object_t *obj); }; #define X86_UNPLUG_INTERFACE "x86_unplug"