base.cc (11359:b0b976a1ceda) base.cc (11415:d6c8016a9a03)
1/*
2 * Copyright (c) 2011-2012 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

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

686BaseCPU::scheduleInstStop(ThreadID tid, Counter insts, const char *cause)
687{
688 const Tick now(comInstEventQueue[tid]->getCurTick());
689 Event *event(new LocalSimLoopExitEvent(cause, 0));
690
691 comInstEventQueue[tid]->schedule(event, now + insts);
692}
693
1/*
2 * Copyright (c) 2011-2012 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

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

686BaseCPU::scheduleInstStop(ThreadID tid, Counter insts, const char *cause)
687{
688 const Tick now(comInstEventQueue[tid]->getCurTick());
689 Event *event(new LocalSimLoopExitEvent(cause, 0));
690
691 comInstEventQueue[tid]->schedule(event, now + insts);
692}
693
694uint64_t
695BaseCPU::getCurrentInstCount(ThreadID tid)
696{
697 return Tick(comInstEventQueue[tid]->getCurTick());
698}
699
694AddressMonitor::AddressMonitor() {
695 armed = false;
696 waiting = false;
697 gotWakeup = false;
698}
699
700bool AddressMonitor::doMonitor(PacketPtr pkt) {
701 assert(pkt->req->hasPaddr());

--- 47 unchanged lines hidden ---
700AddressMonitor::AddressMonitor() {
701 armed = false;
702 waiting = false;
703 gotWakeup = false;
704}
705
706bool AddressMonitor::doMonitor(PacketPtr pkt) {
707 assert(pkt->req->hasPaddr());

--- 47 unchanged lines hidden ---