1/* 2 * Copyright (c) 2005-2006 The Regents of The University of Michigan 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; --- 39 unchanged lines hidden (view full) --- 48{ 49 DPRINTF(LSQ, "LSQ doesn't update things on a recvFunctional."); 50} 51 52template <class Impl> 53void 54LSQ<Impl>::DcachePort::recvStatusChange(Status status) 55{ |
56 if (status == RangeChange) { 57 if (!snoopRangeSent) { 58 snoopRangeSent = true; 59 sendStatusChange(Port::RangeChange); 60 } |
61 return; |
62 } |
63 panic("O3CPU doesn't expect recvStatusChange callback!"); 64} 65 66template <class Impl> 67bool 68LSQ<Impl>::DcachePort::recvTiming(PacketPtr pkt) 69{ 70 if (pkt->isResponse()) { --- 25 unchanged lines hidden (view full) --- 96template <class Impl> 97LSQ<Impl>::LSQ(Params *params) 98 : dcachePort(this), LQEntries(params->LQEntries), 99 SQEntries(params->SQEntries), numThreads(params->numberOfThreads), 100 retryTid(-1) 101{ 102 DPRINTF(LSQ, "Creating LSQ object.\n"); 103 |
104 dcachePort.snoopRangeSent = false; 105 |
106 //**********************************************/ 107 //************ Handle SMT Parameters ***********/ 108 //**********************************************/ 109 std::string policy = params->smtLSQPolicy; 110 111 //Convert string to lowercase 112 std::transform(policy.begin(), policy.end(), policy.begin(), 113 (int(*)(int)) tolower); --- 493 unchanged lines hidden --- |