tool/CommandDomains.cpp
changeset 2068 3001f6523e63
parent 2004 be807e224b0e
child 2589 2b9c78543663
equal deleted inserted replaced
2067:19732da2cf86 2068:3001f6523e63
   141         << " LogBaseAddr 0x"
   141         << " LogBaseAddr 0x"
   142         << hex << setfill('0')
   142         << hex << setfill('0')
   143         << setw(8) << domain.logical_base_address
   143         << setw(8) << domain.logical_base_address
   144         << ", Size " << dec << setfill(' ')
   144         << ", Size " << dec << setfill(' ')
   145         << setw(3) << domain.data_size
   145         << setw(3) << domain.data_size
       
   146         << ", TxSize " << dec << setfill(' ')
       
   147         << setw(3) << domain.tx_size
   146         << ", WorkingCounter "
   148         << ", WorkingCounter "
   147         << domain.working_counter << "/"
   149         << domain.working_counter << "/"
   148         << domain.expected_working_counter << endl;
   150         << domain.expected_working_counter << endl;
   149 
   151 
   150     if (!domain.data_size || getVerbosity() != Verbose)
   152     if (!domain.data_size || getVerbosity() != Verbose)
   171             << "), LogAddr 0x"
   173             << "), LogAddr 0x"
   172             << hex << setfill('0')
   174             << hex << setfill('0')
   173             << setw(8) << fmmu.logical_address
   175             << setw(8) << fmmu.logical_address
   174             << ", Size " << dec << fmmu.data_size << endl;
   176             << ", Size " << dec << fmmu.data_size << endl;
   175 
   177 
   176         dataOffset = fmmu.logical_address - domain.logical_base_address;
   178         dataOffset = fmmu.domain_address - domain.logical_base_address;
   177         if (dataOffset + fmmu.data_size > domain.data_size) {
   179         if (dataOffset + fmmu.data_size > domain.data_size) {
   178             stringstream err;
   180             stringstream err;
   179             delete [] processData;
   181             delete [] processData;
   180             err << "Fmmu information corrupted!";
   182             err << "Fmmu information corrupted!";
   181             throwCommandException(err);
   183             throwCommandException(err);