base.cc (8796:a2ae5c378d0a) | base.cc (8799:dac1e33e07b0) |
---|---|
1/* | 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 9 * licensed hereunder. You may use the software subject to the license 10 * terms below provided that you ensure that this notice is replicated 11 * unmodified and in its entirety in all distributions of the software, 12 * modified or unmodified, in source code or in binary form. 13 * |
|
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Regents of the University of California 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer; --- 455 unchanged lines hidden (view full) --- 465 currentFunctionEnd = pc + 1; 466 } 467 468 ccprintf(*functionTraceStream, " (%d)\n%d: %s", 469 curTick() - functionEntryTick, curTick(), sym_str); 470 functionEntryTick = curTick(); 471 } 472} | 14 * Copyright (c) 2002-2005 The Regents of The University of Michigan 15 * Copyright (c) 2011 Regents of the University of California 16 * All rights reserved. 17 * 18 * Redistribution and use in source and binary forms, with or without 19 * modification, are permitted provided that the following conditions are 20 * met: redistributions of source code must retain the above copyright 21 * notice, this list of conditions and the following disclaimer; --- 455 unchanged lines hidden (view full) --- 477 currentFunctionEnd = pc + 1; 478 } 479 480 ccprintf(*functionTraceStream, " (%d)\n%d: %s", 481 curTick() - functionEntryTick, curTick(), sym_str); 482 functionEntryTick = curTick(); 483 } 484} |
485 486bool 487BaseCPU::CpuPort::recvTiming(PacketPtr pkt) 488{ 489 panic("BaseCPU doesn't expect recvTiming callback!"); 490 return true; 491} 492 493void 494BaseCPU::CpuPort::recvRetry() 495{ 496 panic("BaseCPU doesn't expect recvRetry callback!"); 497} 498 499Tick 500BaseCPU::CpuPort::recvAtomic(PacketPtr pkt) 501{ 502 panic("BaseCPU doesn't expect recvAtomic callback!"); 503 return curTick(); 504} 505 506void 507BaseCPU::CpuPort::recvFunctional(PacketPtr pkt) 508{ 509 // No internal storage to update (in the general case). In the 510 // long term this should never be called, but that assumed a split 511 // into master/slave and request/response. 512} 513 514void 515BaseCPU::CpuPort::recvRangeChange() 516{ 517} |
|