src/cpu/translation.hh
/**
     * Split translation state.  We copy all state into this class, set the
     * number of outstanding translations to two and then mark this as a
     * split translation.
     */
Split translation state.  We copy all state into this class, set the
number of outstanding translations to two and then mark this as a
split translation.
Split translation state . We copy all state into this class set the number of outstanding translations to two and then mark this as a split translation .
WholeTranslationState(const RequestPtr &_req, const RequestPtr &_sreqLow,
                          const RequestPtr &_sreqHigh, uint8_t *_data,
                          uint64_t *_res, BaseMMU::Mode _mode)
        : outstanding(2), delay(false), isSplit(true), mainReq(_req),
          sreqLow(_sreqLow), sreqHigh(_sreqHigh), data(_data), res(_res),
          mode(_mode)
    {
        faults[0] = faults[1] = NoFault;
        assert(mode == BaseMMU::Read || mode == BaseMMU::Write);
    }
WholeTranslationState ( const RequestPtr & _req , const RequestPtr & _sreqLow , const RequestPtr & _sreqHigh , uint8_t * _data , uint64_t * _res , BaseMMU :: Mode _mode ) : outstanding ( 2 ) , delay ( false ) , isSplit ( true ) , mainReq ( _req ) , sreqLow ( _sreqLow ) , sreqHigh ( _sreqHigh ) , data ( _data ) , res ( _res ) , mode ( _mode ) { faults [ 0 ] = faults [ 1 ] = NoFault ; assert ( mode == BaseMMU :: Read || mode == BaseMMU :: Write ) ; }
Split translation state.
Split translation state .