summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dev/arm/rv_ctrl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dev/arm/rv_ctrl.cc b/src/dev/arm/rv_ctrl.cc
index b1bbc065b..6716dd75f 100644
--- a/src/dev/arm/rv_ctrl.cc
+++ b/src/dev/arm/rv_ctrl.cc
@@ -65,6 +65,11 @@ RealViewCtrl::read(PacketPtr pkt)
clk = (Tick)(curTick() / (24 * SimClock::Float::MHz));
pkt->set((uint32_t)(clk));
break;
+ case Clock100:
+ Tick clk100;
+ clk100 = (Tick)(curTick() / (100 * SimClock::Float::MHz));
+ pkt->set((uint32_t)(clk100));
+ break;
case Flash:
pkt->set<uint32_t>(0);
break;