Clock: Make Tick unsigned and remove UTick
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 21 Aug 2012 09:49:09 +0000 (05:49 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 21 Aug 2012 09:49:09 +0000 (05:49 -0400)
commit016593f2e91564dc9d675ae42dfd37059f9b5589
tree9eed2d90618a4eccbd6b3c743c4d7545bfb935dd
parent452217817f421a64bc022a5977e795229af45b30
Clock: Make Tick unsigned and remove UTick

This patch makes the Tick unsigned and removes the UTick typedef. The
ticks should never be negative, and there was only one major issue
with removing it, caused by the o3 CPU using a -1 as an initial value.

The patch has no impact on any regressions.
src/base/types.hh
src/cpu/o3/cpu.cc
src/sim/eventq.hh