sim,misc: Rename M5OP_ANNOTATE to M5OP_RESERVED1.

The M5OP_ANNOTATE constant is unused and treated as a reserved op in
gem5. Rename it to make it official and consistent.

Change-Id: Id5fe6a3aa402a2e0cd187503abff9b09e81b3724
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27235
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
This commit is contained in:
Gabe Black
2020-03-26 16:27:47 -07:00
parent e81e48c16b
commit ac858434c6
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@
#define M5OP_ADD_SYMBOL 0x53
#define M5OP_PANIC 0x54
#define M5OP_ANNOTATE 0x55 // deprecated annotate function
#define M5OP_RESERVED1 0x55 // Reserved for user, used to be annotate
#define M5OP_RESERVED2 0x56 // Reserved for user
#define M5OP_RESERVED3 0x57 // Reserved for user
#define M5OP_RESERVED4 0x58 // Reserved for user

View File

@@ -234,7 +234,7 @@ pseudoInst(ThreadContext *tc, uint8_t func, uint64_t &result)
invokeSimcall<ABI>(tc, workend);
return true;
case M5OP_ANNOTATE:
case M5OP_RESERVED1:
case M5OP_RESERVED2:
case M5OP_RESERVED3:
case M5OP_RESERVED4: