tool/CommandDomains.cpp
changeset 1995 7d748d9cf9e8
parent 1984 02c8728bf9e4
parent 1955 09c2bd224d3f
child 2004 be807e224b0e
equal deleted inserted replaced
1994:b369f3f92eb8 1995:7d748d9cf9e8
    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
   185 
   185 
   186         cout << indent << "    " << hex << setfill('0');
   186         cout << indent << "    " << hex << setfill('0');
   187         for (j = 0; j < fmmu.data_size; j++) {
   187         for (j = 0; j < fmmu.data_size; j++) {
   188             if (j && !(j % BreakAfterBytes))
   188             if (j && !(j % BreakAfterBytes))
   189                 cout << endl << indent << "    ";
   189                 cout << endl << indent << "    ";
   190             cout << "0x" << setw(2)
   190             cout << setw(2)
   191                 << (unsigned int) *(processData + dataOffset + j) << " ";
   191                 << (unsigned int) *(processData + dataOffset + j) << " ";
   192         }
   192         }
   193         cout << endl;
   193         cout << endl;
   194     }
   194     }
   195 
   195