rv_ctrl.cc (7950:1120b07dd4b0) rv_ctrl.cc (8060:a9e16f89f11e)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 51 unchanged lines hidden (view full) ---

60 case ProcId:
61 pkt->set(params()->proc_id);
62 break;
63 case Clock24:
64 Tick clk;
65 clk = (Tick)(curTick() / (24 * SimClock::Float::MHz));
66 pkt->set((uint32_t)(clk));
67 break;
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 51 unchanged lines hidden (view full) ---

60 case ProcId:
61 pkt->set(params()->proc_id);
62 break;
63 case Clock24:
64 Tick clk;
65 clk = (Tick)(curTick() / (24 * SimClock::Float::MHz));
66 pkt->set((uint32_t)(clk));
67 break;
68 case Clock100:
69 Tick clk100;
70 clk100 = (Tick)(curTick() / (100 * SimClock::Float::MHz));
71 pkt->set((uint32_t)(clk100));
72 break;
68 case Flash:
69 pkt->set<uint32_t>(0);
70 break;
71 case Clcd:
72 pkt->set<uint32_t>(0x00001F00);
73 break;
74 case Osc0:
75 pkt->set<uint32_t>(0x00012C5C);

--- 66 unchanged lines hidden ---
73 case Flash:
74 pkt->set<uint32_t>(0);
75 break;
76 case Clcd:
77 pkt->set<uint32_t>(0x00001F00);
78 break;
79 case Osc0:
80 pkt->set<uint32_t>(0x00012C5C);

--- 66 unchanged lines hidden ---