summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
authorDaniel R. Carvalho <odanrc@yahoo.com.br>2019-10-16 14:38:04 +0200
committerDaniel Carvalho <odanrc@yahoo.com.br>2019-12-12 14:43:09 +0000
commit05156e673095de0ab296166e6508494fa6e21bf9 (patch)
treebcd61502e6ec5db4c862994683d55750b16286c7 /src/dev
parenta87a3e4fad3bc83cb42f4896404dbd65fd3a0d73 (diff)
downloadgem5-05156e673095de0ab296166e6508494fa6e21bf9.tar.xz
mem: Encapsulate mapping gem5 to host address space
Create a function to encapsulate mapping an address in gem5's address space to the host's address space. The returned value can be used to access the contents of the given address. As a side effect, make the local variable hostAddr use snake_case to comply with gem5's coding style. Change-Id: I2445d3ab4c7ce5746182b307c26cbafc68aa139c Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22610 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/dev')
0 files changed, 0 insertions, 0 deletions