learning_gem5: Add code for simple SimObject
authorJason Lowe-Power <jason@lowepower.com>
Fri, 6 Oct 2017 21:26:22 +0000 (14:26 -0700)
committerJason Lowe-Power <jason@lowepower.com>
Tue, 5 Dec 2017 02:09:25 +0000 (02:09 +0000)
commitafaaf483fd06ecda6f5118657a9007a7590edfa5
tree5fc0ef49003bc6899ec5123aee510d4d5fccc1f3
parent0778fbbd4b716d4f9ca71355bf686e76b4165c23
learning_gem5: Add code for simple SimObject

This adds code from Learning gem5 Part II.

See http://learning.gem5.org/book/part2/helloobject.html

Change-Id: Ic2caa07876ca57f937729c27ce29b2cd8bf2380c
Signed-off-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-on: https://gem5-review.googlesource.com/5020
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
configs/learning_gem5/part2/run_simple.py [new file with mode: 0644]
src/learning_gem5/part2/SConscript [new file with mode: 0644]
src/learning_gem5/part2/SimpleObject.py [new file with mode: 0644]
src/learning_gem5/part2/simple_object.cc [new file with mode: 0644]
src/learning_gem5/part2/simple_object.hh [new file with mode: 0644]