diff options
author | Michael Neuling <mikey@neuling.org> | 2018-06-19 15:25:25 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-06-25 14:50:23 +1000 |
commit | db3412e2ba689a2281d56a50b5d85a34f68561ab (patch) | |
tree | 105414edd59ac9a0bef5be171920a26b20d70d27 /src/htm.c | |
parent | ebb2661cfac891208dabceedcbece4fb24a64a21 (diff) | |
download | pdbg-db3412e2ba689a2281d56a50b5d85a34f68561ab.tar.gz pdbg-db3412e2ba689a2281d56a50b5d85a34f68561ab.zip |
htm: Remove base/size from reset
Base/size aren't needed so remove them.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Diffstat (limited to 'src/htm.c')
-rw-r--r-- | src/htm.c | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -148,7 +148,6 @@ static int run_status(enum htm_type type) static int run_reset(enum htm_type type) { - uint64_t old_base = 0, base, size; struct pdbg_target *target; int rc = 0; @@ -161,18 +160,10 @@ static int run_reset(enum htm_type type) printf("Resetting HTM@"); print_htm_address(type, target); - if (htm_reset(target, &base, &size) != 1) { + if (htm_reset(target) != 1) { printf("Couldn't reset HTM@"); print_htm_address(type, target); } - if (old_base != base) { - printf("The kernel has initialised HTM memory at:\n"); - printf("base: 0x%016" PRIx64 " for 0x%016" PRIx64 " size\n", - base, size); - printf("In case of system crash/xstop use the following to dump the trace on the BMC:\n"); - printf("./pdbg getmem 0x%016" PRIx64 " 0x%016" PRIx64 " > htm.dump\n", - base, size); - } rc++; } |