base.cc (8634:8390f2d80227) | base.cc (8707:489489c67fd9) |
---|---|
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; --- 470 unchanged lines hidden (view full) --- 480 currentFunctionEnd = pc + 1; 481 } 482 483 ccprintf(*functionTraceStream, " (%d)\n%d: %s", 484 curTick() - functionEntryTick, curTick(), sym_str); 485 functionEntryTick = curTick(); 486 } 487} | 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; --- 470 unchanged lines hidden (view full) --- 492 currentFunctionEnd = pc + 1; 493 } 494 495 ccprintf(*functionTraceStream, " (%d)\n%d: %s", 496 curTick() - functionEntryTick, curTick(), sym_str); 497 functionEntryTick = curTick(); 498 } 499} |
500 501bool 502BaseCPU::CpuPort::recvTiming(PacketPtr pkt) 503{ 504 panic("BaseCPU doesn't expect recvTiming callback!"); 505 return true; 506} 507 508void 509BaseCPU::CpuPort::recvRetry() 510{ 511 panic("BaseCPU doesn't expect recvRetry callback!"); 512} 513 514Tick 515BaseCPU::CpuPort::recvAtomic(PacketPtr pkt) 516{ 517 panic("BaseCPU doesn't expect recvAtomic callback!"); 518 return curTick(); 519} 520 521void 522BaseCPU::CpuPort::recvFunctional(PacketPtr pkt) 523{ 524 // No internal storage to update (in the general case). In the 525 // long term this should never be called, but that assumed a split 526 // into master/slave and request/response. 527} 528 529void 530BaseCPU::CpuPort::recvStatusChange(Status status) 531{ 532 if (status == RangeChange) { 533 if (!snoopRangeSent) { 534 snoopRangeSent = true; 535 sendStatusChange(Port::RangeChange); 536 } 537 return; 538 } 539 540 panic("BaseCPU doesn't expect recvStatusChange callback!"); 541} 542 543void 544BaseCPU::CpuPort::getDeviceAddressRanges(AddrRangeList& resp, 545 bool& snoop) 546{ 547 resp.clear(); 548 snoop = false; 549} |
|