|
|
|
@ -51,7 +51,6 @@ static void help(int exit_code = 1) |
|
|
|
fprintf(stderr, " --dc=<S>:<W>:<B> W ways, and B-byte blocks (with S and\n"); |
|
|
|
fprintf(stderr, " --l2=<S>:<W>:<B> B both powers of 2).\n"); |
|
|
|
fprintf(stderr, " --big-endian Use a big-endian memory system.\n"); |
|
|
|
fprintf(stderr, " --misaligned Support misaligned memory accesses\n"); |
|
|
|
fprintf(stderr, " --device=<name> Attach MMIO plugin device from an --extlib library,\n"); |
|
|
|
fprintf(stderr, " specify --device=<name>,<args> to pass down extra args.\n"); |
|
|
|
fprintf(stderr, " --log-cache-miss Generate a log of cache miss\n"); |
|
|
|
@ -390,7 +389,6 @@ int main(int argc, char** argv) |
|
|
|
parser.option(0, "dc", 1, [&](const char* s){dc.reset(new dcache_sim_t(s));}); |
|
|
|
parser.option(0, "l2", 1, [&](const char* s){l2.reset(cache_sim_t::construct(s, "L2$"));}); |
|
|
|
parser.option(0, "big-endian", 0, [&](const char UNUSED *s){cfg.endianness = endianness_big;}); |
|
|
|
parser.option(0, "misaligned", 0, [&](const char UNUSED *s){cfg.misaligned = true;}); |
|
|
|
parser.option(0, "log-cache-miss", 0, [&](const char UNUSED *s){log_cache = true;}); |
|
|
|
parser.option(0, "isa", 1, [&](const char* s){cfg.isa = s;}); |
|
|
|
parser.option(0, "pmpregions", 1, [&](const char* s){cfg.pmpregions = atoul_safe(s);}); |
|
|
|
|