diff options
author | Curtis Dunham <Curtis.Dunham@arm.com> | 2017-09-07 16:13:54 -0500 |
---|---|---|
committer | Curtis Dunham <curtis.dunham@arm.com> | 2018-01-29 22:19:55 +0000 |
commit | 9f5b6e1b74c8289050836abdfb9c2539380f9105 (patch) | |
tree | 9b5dc7cdee74400580241907d8b50b3ed69a02ee /src/dev/rtcreg.h | |
parent | 624a026a393104e6730731695d5d74addd65d79e (diff) | |
download | gem5-9f5b6e1b74c8289050836abdfb9c2539380f9105.tar.xz |
arm: make Arm GenericTimer a ClockedObject
Within a device tree, the GenericTimer device needs to point (via phandle)
to a clock domain which is itself also an object in the device tree. Within
gem5, clock domains are managed by making all clocked SimObjects inherit
from ClockedObject rather than SimObject.
Without this change, the GenericTimer is unable to generate the appropriate
clock domain phandle, and will crash during DTB autogeneration.
Change-Id: I6d3fb6362847c6a01720b2f14b3d595d1e59f01f
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/4960
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/dev/rtcreg.h')
0 files changed, 0 insertions, 0 deletions