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
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 ---
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
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 ---