summaryrefslogtreecommitdiff
path: root/util/m5/m5.c
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2017-07-27 15:48:03 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-08-01 18:27:06 +0000
commitc1dd17d33b0df54429e878ba8399cf5c51512f02 (patch)
treee95053fabe2be90116fdb12d1ec8007c2e559173 /util/m5/m5.c
parent75c281114a2cfad6c885769ac3d88236b3a99971 (diff)
downloadgem5-c1dd17d33b0df54429e878ba8399cf5c51512f02.tar.xz
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>
Diffstat (limited to 'util/m5/m5.c')
-rw-r--r--util/m5/m5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/m5/m5.c b/util/m5/m5.c
index 5b6c7a6aa..82ef73b0f 100644
--- a/util/m5/m5.c
+++ b/util/m5/m5.c
@@ -57,7 +57,7 @@
#include <sys/types.h>
#include <unistd.h>
-#include "m5op.h"
+#include <gem5/m5ops.h>
void *m5_mem = NULL;