util: resolve m5op name mismatching in m5op headers.
authorHanhwi Jang <jang.hanhwi@gmail.com>
Fri, 8 Dec 2017 05:34:59 +0000 (14:34 +0900)
committerHanhwi Jang <jang.hanhwi@gmail.com>
Tue, 9 Jan 2018 07:56:37 +0000 (07:56 +0000)
Two m5op, load_symbol and dist_toggle_sync are defined with
different name in C and asm version headers 'm5ops.h'
The m5ops are named to m5_load_symbol() and m5_dist_toggle_sync().

Change-Id: I9630d74f3fb95bc3dc5fa082778d8f6eaa49b3cb
Reviewed-on: https://gem5-review.googlesource.com/6481
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>

include/gem5/asm/generic/m5ops.h
include/gem5/m5ops.h

index 81569e02544567006986619a2296b8252bd3f5b3..2d7d0741df1f0d81a887c5f070bfef151453df69 100644 (file)
     M5OP(m5_panic, M5OP_PANIC, 0);                              \
     M5OP(m5_work_begin, M5OP_WORK_BEGIN, 0);                    \
     M5OP(m5_work_end, M5OP_WORK_END, 0);                        \
-    M5OP(m5_dist_togglesync, M5OP_DIST_TOGGLE_SYNC, 0);
+    M5OP(m5_dist_toggle_sync, M5OP_DIST_TOGGLE_SYNC, 0);
 
 #define M5OP_FOREACH_ANNOTATION                      \
     M5_ANNOTATION(m5a_bsm, M5OP_AN_BSM);             \
index 5062ac24be63bf34168e39903a5953cd153d161f..72223d140370c3393a006f9a936c49d08649185c 100644 (file)
@@ -62,7 +62,7 @@ void m5_debug_break(void);
 void m5_switch_cpu(void);
 void m5_dist_toggle_sync(void);
 void m5_add_symbol(uint64_t addr, char *symbol);
-void m5_loadsymbol();
+void m5_load_symbol();
 void m5_panic(void);
 void m5_work_begin(uint64_t workid, uint64_t threadid);
 void m5_work_end(uint64_t workid, uint64_t threadid);