util: Allow overriding the magic address in the m5 utility.
authorGabe Black <gabeblack@google.com>
Fri, 27 Mar 2020 10:05:19 +0000 (03:05 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 22 Jun 2020 08:33:04 +0000 (08:33 +0000)
commit24b4aeb726599d55a22f4c71518dd10467549c2c
tree19b2855abab4d4f10eb473757060541d70547259
parent1339a1b08014311d4fd443d9a26b632a2438d7f7
util: Allow overriding the magic address in the m5 utility.

This is useful in situations where the address is hard to know ahead of
time, for instance on ARM systems where the address map is hard to
predict.

The default address is now M5OP_ADDR, or 0 if that's not defined.

Change-Id: I3140e05b04365c1a76e52f8c3dc85f472c230ae4
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27244
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
util/m5/src/addr_call_type.c
util/m5/src/addr_call_type.h
util/m5/src/m5.c
util/m5/src/m5_mmap.c
util/m5/src/m5_mmap.h