x86_cpuid x86_cstate
API Reference Manual  /  4 Model-to-Model Interfaces  / 

x86_cpuid_query

Description
This interface is implemented by CPUs and can be used to query the values that would be returned by the CPUID instruction. The interface calculates the return value both from built in default values and from any handlers that would be installed using the x86_cpuid interface.

This is a preliminary interface. Based on feedback, this interface can and will be changed without regard for the usual ABI compatibility rules.

SIM_INTERFACE(x86_cpuid_query) {
        cpuid_value_t (*cpuid_query)(conf_object_t *obj, uint32 leaf,
                                     uint32 subleaf);
};
#define X86_CPUID_QUERY_INTERFACE "x86_cpuid_query"

Execution Context
Cell Context for all methods.

x86_cpuid x86_cstate