mips_ite
interface is implemented by the CPU, for
communicating with the MIPS Inter-Thread Communication Unit.
The set_dtag_lo function sets the DTagLo SPR.
The get_dtag_lo function returns the value of the DTagLo SPR.
The get_errctl function returns the value of the ErrCtl SPR.
The block_tc function marks the current TC as blocked on gating storage and swaps in another TC.
The gated_exception function throws an immediate exception.
The current_tc_num function returns the currently running TC number on the VPE.
The unblock_tc function unblocks the specified TC if it is currently blocked on gating storage.
The is_big_endian function indicates if the CPU expects big endian memory storage.
SIM_INTERFACE(mips_ite) { void (*set_dtag_lo)(conf_object_t *NOTNULL obj, uint32 value); uint32 (*get_dtag_lo)(conf_object_t *NOTNULL obj); uint32 (*get_errctl)(conf_object_t *NOTNULL obj); void (*block_tc)(conf_object_t *NOTNULL obj); void (*gated_exception)(conf_object_t *NOTNULL obj); int (*current_tc_num)(conf_object_t *NOTNULL obj); void (*unblock_tc)(conf_object_t *NOTNULL obj, int tc_num); bool (*is_big_endian)(conf_object_t *NOTNULL obj); }; #define MIPS_ITE_INTERFACE "mips_ite"