x86_smm_notification x86_unplug_v2
API Reference Manual  /  5 Model-to-Simulator Interfaces  / 

x86_unplug

Description
The methods of the interface are intended to be used by a platform to unplug (and optionally re-plug) CPU cores/threads, effectively hiding them from the #RESET/INIT signals.

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"

Execution Context
Cell Context for all methods.

x86_smm_notification x86_unplug_v2