tool/CommandDomains.cpp
changeset 1955 09c2bd224d3f
parent 1869 14f634f5b613
child 1968 4f682084c643
child 1995 7d748d9cf9e8
equal deleted inserted replaced
1954:a108f0805a0b 1955:09c2bd224d3f
    69         << endl
    69         << endl
    70         << "Domain1: LogBaseAddr 0x00000006, Size   6, WorkingCounter 0/1"
    70         << "Domain1: LogBaseAddr 0x00000006, Size   6, WorkingCounter 0/1"
    71         << endl
    71         << endl
    72         << "  SlaveConfig 1001:0, SM3 ( Input), LogAddr 0x00000006, Size 6"
    72         << "  SlaveConfig 1001:0, SM3 ( Input), LogAddr 0x00000006, Size 6"
    73         << endl
    73         << endl
    74         << "    0x00 0x00 0x00 0x00 0x00 0x00" << endl
    74         << "    00 00 00 00 00 00" << endl
    75         << endl
    75         << endl
    76         << "The process data are displayed as hexadecimal bytes." << endl
    76         << "The process data are displayed as hexadecimal bytes." << endl
    77         << endl
    77         << endl
    78         << "Command-specific options:" << endl
    78         << "Command-specific options:" << endl
    79         << "  --domain  -d <index>  Positive numerical domain index." << endl
    79         << "  --domain  -d <index>  Positive numerical domain index." << endl
   183 
   183 
   184         cout << indent << "    " << hex << setfill('0');
   184         cout << indent << "    " << hex << setfill('0');
   185         for (j = 0; j < fmmu.data_size; j++) {
   185         for (j = 0; j < fmmu.data_size; j++) {
   186             if (j && !(j % BreakAfterBytes))
   186             if (j && !(j % BreakAfterBytes))
   187                 cout << endl << indent << "    ";
   187                 cout << endl << indent << "    ";
   188             cout << "0x" << setw(2)
   188             cout << setw(2)
   189                 << (unsigned int) *(processData + dataOffset + j) << " ";
   189                 << (unsigned int) *(processData + dataOffset + j) << " ";
   190         }
   190         }
   191         cout << endl;
   191         cout << endl;
   192     }
   192     }
   193 
   193