SIM_cbdata_data — get cbdata data pointer
#include <simics/device-api.h> // in C
// always available in DML
FORCE_INLINE void *
SIM_cbdata_data(const cbdata_t *cbd);
Return the data pointer of the callback data cbd.
SIM_cbdata_type — get cbdata type pointer
#include <simics/device-api.h> // in C
// always available in DML
FORCE_INLINE const cbdata_type_t *
SIM_cbdata_type(const cbdata_t *cbd);
Return a pointer to the type information of the callback data cbd.
SIM_free_cbdata — free cbdata
#include <simics/device-api.h> // in C
// always available in DML
FORCE_INLINE void
SIM_free_cbdata(cbdata_t *cbd);
Free the callback data cbd by calling its dealloc function.
SIM_make_cbdata — create cbdata
#include <simics/device-api.h> // in C
// always available in DML
FORCE_INLINE cbdata_t
SIM_make_cbdata(const cbdata_type_t *type, void *data);
Create new callback data of type type and value data.
SIM_make_simple_cbdata — create untyped cbdata
#include <simics/device-api.h> // in C
// always available in DML
FORCE_INLINE cbdata_t
SIM_make_simple_cbdata(void *obj);
Create new untyped callback data of value data. An untyped callback data has no dealloc function.