util: Correct some help text for the initparam m5 utility command.
authorGabe Black <gabeblack@google.com>
Wed, 25 Mar 2020 23:11:45 +0000 (16:11 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 27 Apr 2020 21:03:28 +0000 (21:03 +0000)
The "key" value passed to the initparam command can be at most 16
characters long, but the text said it had to be shorter than 16
characters.

Change-Id: Ic98dc87feb868b44c4210ae16cb5b0dad2a67d88
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27227
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
util/m5/src/m5.c

index d5b27a320231c21c622af974dde62753a0c8b2fb..83174d07f4605de5f4d7828653076f5162fc85a3 100644 (file)
@@ -316,8 +316,8 @@ struct MainFunc mainfuncs[] = {
     { "checkpoint",     do_checkpoint,       "[delay [period]]" },
     { "addsymbol",      do_addsymbol,        "<address> <symbol>" },
     { "loadsymbol",     do_loadsymbol,       "" },
-    { "initparam",      do_initparam,        "[key] // key must be shorter"
-                                             " than 16 chars" },
+    { "initparam",      do_initparam,        "[key] // key may be at most"
+                                             " 16 characters long" },
     { "sw99param",      do_sw99param,        "" }
 };
 int numfuncs = sizeof(mainfuncs) / sizeof(mainfuncs[0]);