aboutsummaryrefslogtreecommitdiff
path: root/module-common.c
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2017-08-22 06:37:10 +0900
committerStafford Horne <shorne@gmail.com>2017-10-21 06:35:47 +0900
commit6b4bbd6aeb8e187c0e3be58c8f77a484f82e6f87 (patch)
tree9f45d3d741dcb0971bf4be0add6250d9deb0a92d /module-common.c
parent8c949951ed257567303c3d3b83bcd876b53d79e5 (diff)
openrisc/cputimer: Perparation for Multicore
In order to support multicore system we move some of the previously static state variables into the state of each core. On the other hand in order to allow timers to be synced between each code the ttcr (tick timer count register) is moved out of the core. This is not as per real hardware spec which has a separate timer counter per core, but it seems the most simple way to keep each clock in sync. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions