base.cc (2708:c4157b162e7b) base.cc (2798:751e9170247e)
1/*
2 * Copyright (c) 2002-2005 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;

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

232#else
233 tc->setCpuId(tc->getProcessPtr()->registerThreadContext(tc));
234#endif
235 }
236}
237
238
239void
1/*
2 * Copyright (c) 2002-2005 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;

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

232#else
233 tc->setCpuId(tc->getProcessPtr()->registerThreadContext(tc));
234#endif
235 }
236}
237
238
239void
240BaseCPU::switchOut(Sampler *sampler)
240BaseCPU::switchOut()
241{
242 panic("This CPU doesn't support sampling!");
243}
244
245void
246BaseCPU::takeOverFrom(BaseCPU *oldCPU)
247{
248 assert(threadContexts.size() == oldCPU->threadContexts.size());

--- 135 unchanged lines hidden ---
241{
242 panic("This CPU doesn't support sampling!");
243}
244
245void
246BaseCPU::takeOverFrom(BaseCPU *oldCPU)
247{
248 assert(threadContexts.size() == oldCPU->threadContexts.size());

--- 135 unchanged lines hidden ---