cpu.cc (8850:ed91b534ed04) cpu.cc (8863:50ce4deacda9)
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

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

648
649 // this CPU could still be unconnected if we are restoring from a
650 // checkpoint and this CPU is to be switched in, thus we can only
651 // do this here if the instruction port is actually connected, if
652 // not we have to do it as part of takeOverFrom
653 if (icachePort.isConnected())
654 fetch.setIcache();
655
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

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

648
649 // this CPU could still be unconnected if we are restoring from a
650 // checkpoint and this CPU is to be switched in, thus we can only
651 // do this here if the instruction port is actually connected, if
652 // not we have to do it as part of takeOverFrom
653 if (icachePort.isConnected())
654 fetch.setIcache();
655
656 if (FullSystem) {
656 if (FullSystem && !params()->defer_registration) {
657 for (ThreadID tid = 0; tid < numThreads; tid++) {
658 ThreadContext *src_tc = threadContexts[tid];
659 TheISA::initCPU(src_tc, src_tc->contextId());
660 // Initialise the ThreadContext's memory proxies
661 thread[tid]->initMemProxies(thread[tid]->getTC());
662 }
663 }
664

--- 1065 unchanged lines hidden ---
657 for (ThreadID tid = 0; tid < numThreads; tid++) {
658 ThreadContext *src_tc = threadContexts[tid];
659 TheISA::initCPU(src_tc, src_tc->contextId());
660 // Initialise the ThreadContext's memory proxies
661 thread[tid]->initMemProxies(thread[tid]->getTC());
662 }
663 }
664

--- 1065 unchanged lines hidden ---