misc: create C declarations for the _addr and _semi m5ops
authorCiro Santilli <ciro.santilli@arm.com>
Wed, 28 Oct 2020 10:38:41 +0000 (10:38 +0000)
committerCiro Santilli <ciro.santilli@arm.com>
Thu, 5 Nov 2020 12:24:18 +0000 (12:24 +0000)
commitbdd4044e97b8f5ef0dc6675918e7f789b7616e09
treefe9fad332d6b87102aaa979f45690d5661163427
parentb6a35f3c99097d42680b1f0d34bc64c4f86dc7d7
misc: create C declarations for the _addr and _semi m5ops

Symbols such as m5_exit_addr are already present in the libm5.a, but were
not previously exposed in a header. This commit allows external C programs
to use those versions of the functions as well.

Change-Id: I925e3af7bd6cb23e06fb744d453153323afb9310
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36896
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
include/gem5/m5ops.h