Type Alias simics_api_sys::transaction_t

source ·
pub type transaction_t = transaction;
Expand description
transaction_t transaction_t

transaction_t

A transaction_t represents a memory transaction. The properties of the transaction is stored in the form of an atom list, where each atom describes a particular aspect of the transaction, like the size of the transaction.

The field atoms points to the atoms list, which must be terminated with the constant ATOM_LIST_END.

The prev field points to an optional parent transaction. If a particular atom is not found in the atoms list, then the parent’s list of atoms is consulted instead. The prev pointer is also used when a chained transaction is monitored with SIM_monitor_chained_transaction.

Besides the fields above, the transaction contains some internal fields that should be initialized to 0. The internal fields should not be referenced explicitly since they are likely to change in future Simics releases.

For details, please refer to “Transactions” chapter in the Model Builder’s User Guide.

Aliased Type§

struct transaction_t {
    pub atoms: *mut atom_t,
    pub prev: *mut transaction,
    pub _cache: *mut transaction_cache,
    pub _status: u64,
}

Fields§

§atoms: *mut atom_t§prev: *mut transaction§_cache: *mut transaction_cache§_status: u64