packet.cc (9165:f9e3dac185ba) | packet.cc (9542:683991c46ac8) |
---|---|
1/* 2 * Copyright (c) 2011 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 --- 302 unchanged lines hidden (view full) --- 311 panic("Don't know how to handle command %s\n", cmdString()); 312 } 313 314 // keep going with request by default 315 return false; 316} 317 318void | 1/* 2 * Copyright (c) 2011 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 --- 302 unchanged lines hidden (view full) --- 311 panic("Don't know how to handle command %s\n", cmdString()); 312 } 313 314 // keep going with request by default 315 return false; 316} 317 318void |
319Packet::pushSenderState(Packet::SenderState *sender_state) 320{ 321 assert(sender_state != NULL); 322 sender_state->predecessor = senderState; 323 senderState = sender_state; 324} 325 326Packet::SenderState * 327Packet::popSenderState() 328{ 329 assert(senderState != NULL); 330 SenderState *sender_state = senderState; 331 senderState = sender_state->predecessor; 332 sender_state->predecessor = NULL; 333 return sender_state; 334} 335 336void |
|
319Packet::print(ostream &o, const int verbosity, const string &prefix) const 320{ 321 ccprintf(o, "%s[%x:%x] %s\n", prefix, 322 getAddr(), getAddr() + getSize() - 1, cmdString()); 323} 324 325Packet::PrintReqState::PrintReqState(ostream &_os, int _verbosity) 326 : curPrefixPtr(new string("")), os(_os), verbosity(_verbosity) --- 57 unchanged lines hidden --- | 337Packet::print(ostream &o, const int verbosity, const string &prefix) const 338{ 339 ccprintf(o, "%s[%x:%x] %s\n", prefix, 340 getAddr(), getAddr() + getSize() - 1, cmdString()); 341} 342 343Packet::PrintReqState::PrintReqState(ostream &_os, int _verbosity) 344 : curPrefixPtr(new string("")), os(_os), verbosity(_verbosity) --- 57 unchanged lines hidden --- |