abstract_mem.cc (8931:7a1dfb191e3f) | abstract_mem.cc (8992:e68dd2ba4fa4) |
---|---|
1/* 2 * Copyright (c) 2010-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 --- 376 unchanged lines hidden (view full) --- 385 } else if (pkt->isWrite()) { 386 if (pmemAddr) 387 memcpy(hostAddr, pkt->getPtr<uint8_t>(), pkt->getSize()); 388 TRACE_PACKET("Write"); 389 pkt->makeResponse(); 390 } else if (pkt->isPrint()) { 391 Packet::PrintReqState *prs = 392 dynamic_cast<Packet::PrintReqState*>(pkt->senderState); | 1/* 2 * Copyright (c) 2010-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 --- 376 unchanged lines hidden (view full) --- 385 } else if (pkt->isWrite()) { 386 if (pmemAddr) 387 memcpy(hostAddr, pkt->getPtr<uint8_t>(), pkt->getSize()); 388 TRACE_PACKET("Write"); 389 pkt->makeResponse(); 390 } else if (pkt->isPrint()) { 391 Packet::PrintReqState *prs = 392 dynamic_cast<Packet::PrintReqState*>(pkt->senderState); |
393 assert(prs); |
|
393 // Need to call printLabels() explicitly since we're not going 394 // through printObj(). 395 prs->printLabels(); 396 // Right now we just print the single byte at the specified address. 397 ccprintf(prs->os, "%s%#x\n", prs->curPrefix(), *hostAddr); 398 } else { 399 panic("AbstractMemory: unimplemented functional command %s", 400 pkt->cmdString()); --- 137 unchanged lines hidden --- | 394 // Need to call printLabels() explicitly since we're not going 395 // through printObj(). 396 prs->printLabels(); 397 // Right now we just print the single byte at the specified address. 398 ccprintf(prs->os, "%s%#x\n", prs->curPrefix(), *hostAddr); 399 } else { 400 panic("AbstractMemory: unimplemented functional command %s", 401 pkt->cmdString()); --- 137 unchanged lines hidden --- |