This interface is used to query information about the
x86_access_type_t enum. The get_enum_name method
returns the C enum name for the access type. get_short_name
returns a corresponding short name. More than one access type may have the
same short name. The get_description returns a longer
description of the access type. The implicit function returns
true if the access type is considered implicit or false if it is considered
explicit. This information is used by the
cpu_instrumentation_subscribe interface to separate accesses
in the two different categories.
SIM_INTERFACE(x86_access_type) {
const char *(*get_enum_name)(conf_object_t *obj, x86_access_type_t at);
const char *(*get_short_name)(conf_object_t *obj, x86_access_type_t at);
const char *(*get_description)(conf_object_t *obj, x86_access_type_t at);
bool (*implicit)(conf_object_t *obj, x86_access_type_t at);
};
#define X86_ACCESS_TYPE_INTERFACE "x86_access_type"