util: Move m5op.h to the shared include directory
authorAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 27 Jul 2017 14:48:03 +0000 (15:48 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 1 Aug 2017 18:27:06 +0000 (18:27 +0000)
commitc1dd17d33b0df54429e878ba8399cf5c51512f02
treee95053fabe2be90116fdb12d1ec8007c2e559173
parent75c281114a2cfad6c885769ac3d88236b3a99971
util: Move m5op.h to the shared include directory

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>
include/gem5/asm/generic/m5op_flags.h [new file with mode: 0644]
include/gem5/asm/generic/m5ops.h
include/gem5/m5ops.h [new file with mode: 0644]
util/m5/m5.c
util/m5/m5op.h [deleted file]