Deleted Added
sdiff udiff text old ( 9446:644f2a2c9bfc ) new ( 9448:569d1e8f74e4 )
full compact
1/*
2 * Copyright (c) 2011-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

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

519 cpu->schedule(this, curTick() + interval);
520}
521
522void
523BaseCPU::serialize(std::ostream &os)
524{
525 SERIALIZE_SCALAR(instCnt);
526
527 /* Unlike _pid, _taskId is not serialized, as they are dynamically
528 * assigned unique ids that are only meaningful for the duration of
529 * a specific run. We will need to serialize the entire taskMap in
530 * system. */
531 SERIALIZE_SCALAR(_pid);
532
533 interrupts->serialize(os);
534}
535
536void
537BaseCPU::unserialize(Checkpoint *cp, const std::string &section)
538{
539 UNSERIALIZE_SCALAR(instCnt);
540 UNSERIALIZE_SCALAR(_pid);
541 interrupts->unserialize(cp, section);
542}
543
544void
545BaseCPU::traceFunctionsInternal(Addr pc)
546{
547 if (!debugSymbolTable)
548 return;
549

--- 41 unchanged lines hidden ---