summaryrefslogtreecommitdiff
path: root/include/gem5/m5ops.h
AgeCommit message (Collapse)Author
2018-01-09util: resolve m5op name mismatching in m5op headers.Hanhwi Jang
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>
2017-08-01util: Move m5op.h to the shared include directoryAndreas Sandberg
The header file with C declarations for m5ops is sometimes needed by code outside of the util/m5 directory. Move this file to the shared include directory and factor out flags to a generic asm header. Note that applications that need to call m5ops still need to link with libm5.a or implement their own trampolines. Change-Id: I36a3f459ed71593e38b869dc2b1302c810f92276 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jose Marinho <jose.marinho@arm.com> Reviewed-on: https://gem5-review.googlesource.com/4265 Reviewed-by: Gabe Black <gabeblack@google.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com>