system.cc (7723:ee4ac00d0774) system.cc (7733:08d6a773d1b6)
1/*
2 * Copyright (c) 2003-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

224 for (int i = 0; i < _numContexts; ++i) {
225 if (threadContexts[i]->status() != ThreadContext::Halted)
226 ++running;
227 }
228 return running;
229}
230
231void
1/*
2 * Copyright (c) 2003-2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

224 for (int i = 0; i < _numContexts; ++i) {
225 if (threadContexts[i]->status() != ThreadContext::Halted)
226 ++running;
227 }
228 return running;
229}
230
231void
232System::startup()
232System::initState()
233{
234#if FULL_SYSTEM
235 int i;
236 for (i = 0; i < threadContexts.size(); i++)
237 TheISA::startupCPU(threadContexts[i], i);
238#endif
239}
240

--- 88 unchanged lines hidden ---
233{
234#if FULL_SYSTEM
235 int i;
236 for (i = 0; i < threadContexts.size(); i++)
237 TheISA::startupCPU(threadContexts[i], i);
238#endif
239}
240

--- 88 unchanged lines hidden ---