Sequencer.cc (8967:fc2c4db64ded) Sequencer.cc (9011:52574306c576)
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;

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

215RequestStatus
216Sequencer::insertRequest(PacketPtr pkt, RubyRequestType request_type)
217{
218 assert(m_outstanding_count ==
219 (m_writeRequestTable.size() + m_readRequestTable.size()));
220
221 // See if we should schedule a deadlock check
222 if (deadlockCheckEvent.scheduled() == false) {
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;

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

215RequestStatus
216Sequencer::insertRequest(PacketPtr pkt, RubyRequestType request_type)
217{
218 assert(m_outstanding_count ==
219 (m_writeRequestTable.size() + m_readRequestTable.size()));
220
221 // See if we should schedule a deadlock check
222 if (deadlockCheckEvent.scheduled() == false) {
223 schedule(deadlockCheckEvent, m_deadlock_threshold + curTick());
223 schedule(deadlockCheckEvent,
224 m_deadlock_threshold * g_eventQueue_ptr->getClock()
225 + curTick());
224 }
225
226 Address line_addr(pkt->getAddr());
227 line_addr.makeLineAddress();
228 if ((request_type == RubyRequestType_ST) ||
229 (request_type == RubyRequestType_RMW_Read) ||
230 (request_type == RubyRequestType_RMW_Write) ||
231 (request_type == RubyRequestType_Load_Linked) ||

--- 504 unchanged lines hidden ---
226 }
227
228 Address line_addr(pkt->getAddr());
229 line_addr.makeLineAddress();
230 if ((request_type == RubyRequestType_ST) ||
231 (request_type == RubyRequestType_RMW_Read) ||
232 (request_type == RubyRequestType_RMW_Write) ||
233 (request_type == RubyRequestType_Load_Linked) ||

--- 504 unchanged lines hidden ---