util: Move the m5ops.h file to a shared directory
authorAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 27 Jul 2017 13:59:31 +0000 (14:59 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 1 Aug 2017 18:27:06 +0000 (18:27 +0000)
commit644e8cdf5ee7fcfe14faf6404ca42c18282dfceb
tree3a6bf9cff099992672a6c7952653171bbf1c75b3
parentdb85b8ff32c46796aa91fecb04ea1ae3411c077e
util: Move the m5ops.h file to a shared directory

The header file m5ops.h contains a list of constants that should be
shared between the simulator and utilities. Move this header file to a
new top-level directory for shared files and rename constants to make
them suitable for inclusion in the main simulator.

The structure of the shared include directory is as follows:

include/gem5: Files that can be included from C code.
include/gem5/asm: Files that can be included from assembly code.
  asm/generic/: Files that aren't guest ISA specific
  asm/${isa}/: Files that are guest ISA specific

Change-Id: I1aa511057bcaa80cc2d566109ff26581558c4a41
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jose Marinho <jose.marinho@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/4261
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
13 files changed:
include/gem5/asm/generic/m5ops.h [new file with mode: 0644]
util/m5/Makefile.aarch64
util/m5/Makefile.alpha
util/m5/Makefile.arm
util/m5/Makefile.sparc
util/m5/Makefile.thumb
util/m5/Makefile.x86
util/m5/m5op_alpha.S
util/m5/m5op_arm.S
util/m5/m5op_arm_A64.S
util/m5/m5op_sparc.S
util/m5/m5op_x86.S
util/m5/m5ops.h [deleted file]