Deleted Added
sdiff udiff text old ( 12001:a1fd8e5dc7a6 ) new ( 12002:3f51adda9470 )
full compact
1/*
2 * Copyright (c) 2011 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 237 unchanged lines hidden (view full) ---

246 if (argc != 2)
247 usage();
248
249 uint64_t addr = strtoul(argv[0], NULL, 0);
250 char *symbol = argv[1];
251 m5_addsymbol(addr, symbol);
252}
253
254void
255do_initparam(int argc, char *argv[])
256{
257 if (argc > 1)
258 usage();
259
260 uint64_t key_str[2];
261 parse_str_args_to_regs(argc, argv, key_str, 2);
262 uint64_t val = m5_initparam(key_str[0], key_str[1]);

--- 53 unchanged lines hidden (view full) ---

316 { "resetstats", do_reset_stats, "[delay [period]]" },
317 { "dumpstats", do_dump_stats, "[delay [period]]" },
318 { "dumpresetstats", do_dump_reset_stats, "[delay [period]]" },
319 { "readfile", do_read_file, "" },
320 { "writefile", do_write_file, "<filename>" },
321 { "execfile", do_exec_file, "" },
322 { "checkpoint", do_checkpoint, "[delay [period]]" },
323 { "addsymbol", do_addsymbol, "<address> <symbol>" },
324 { "initparam", do_initparam, "[key] // key must be shorter than 16 chars" },
325 { "sw99param", do_sw99param, "" },
326#ifdef linux
327 { "pin", do_pin, "<cpu> <program> [args ...]" }
328#endif
329};
330int numfuncs = sizeof(mainfuncs) / sizeof(mainfuncs[0]);
331

--- 61 unchanged lines hidden ---