Sequencer.cc (9507:d2ab6d889fc7) Sequencer.cc (9508:dde110931867)
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

34#endif // X86_ISA
35#include "cpu/testers/rubytest/RubyTester.hh"
36#include "debug/MemoryAccess.hh"
37#include "debug/ProtocolTrace.hh"
38#include "debug/RubySequencer.hh"
39#include "debug/RubyStats.hh"
40#include "mem/protocol/PrefetchBit.hh"
41#include "mem/protocol/RubyAccessMode.hh"
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

34#endif // X86_ISA
35#include "cpu/testers/rubytest/RubyTester.hh"
36#include "debug/MemoryAccess.hh"
37#include "debug/ProtocolTrace.hh"
38#include "debug/RubySequencer.hh"
39#include "debug/RubyStats.hh"
40#include "mem/protocol/PrefetchBit.hh"
41#include "mem/protocol/RubyAccessMode.hh"
42#include "mem/ruby/buffers/MessageBuffer.hh"
43#include "mem/ruby/common/Global.hh"
44#include "mem/ruby/profiler/Profiler.hh"
45#include "mem/ruby/slicc_interface/RubyRequest.hh"
46#include "mem/ruby/system/Sequencer.hh"
47#include "mem/ruby/system/System.hh"
48#include "mem/packet.hh"
49
50using namespace std;

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

652 }
653
654 // If valid, copy the pc to the ruby request
655 Addr pc = 0;
656 if (pkt->req->hasPC()) {
657 pc = pkt->req->getPC();
658 }
659
42#include "mem/ruby/common/Global.hh"
43#include "mem/ruby/profiler/Profiler.hh"
44#include "mem/ruby/slicc_interface/RubyRequest.hh"
45#include "mem/ruby/system/Sequencer.hh"
46#include "mem/ruby/system/System.hh"
47#include "mem/packet.hh"
48
49using namespace std;

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

651 }
652
653 // If valid, copy the pc to the ruby request
654 Addr pc = 0;
655 if (pkt->req->hasPC()) {
656 pc = pkt->req->getPC();
657 }
658
660 RubyRequest *msg = new RubyRequest(curCycle(), pkt->getAddr(),
659 RubyRequest *msg = new RubyRequest(clockEdge(), pkt->getAddr(),
661 pkt->getPtr<uint8_t>(true),
662 pkt->getSize(), pc, secondary_type,
663 RubyAccessMode_Supervisor, pkt,
664 PrefetchBit_No, proc_id);
665
666 DPRINTFR(ProtocolTrace, "%15s %3s %10s%20s %6s>%-6s %s %s\n",
667 curTick(), m_version, "Seq", "Begin", "", "",
668 msg->getPhysicalAddress(),

--- 64 unchanged lines hidden ---
660 pkt->getPtr<uint8_t>(true),
661 pkt->getSize(), pc, secondary_type,
662 RubyAccessMode_Supervisor, pkt,
663 PrefetchBit_No, proc_id);
664
665 DPRINTFR(ProtocolTrace, "%15s %3s %10s%20s %6s>%-6s %s %s\n",
666 curTick(), m_version, "Seq", "Begin", "", "",
667 msg->getPhysicalAddress(),

--- 64 unchanged lines hidden ---