base.cc (4776:8c8407243a2c) | base.cc (4997:e7380529bd2d) |
---|---|
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; --- 61 unchanged lines hidden (view full) --- 70 71BaseSimpleCPU::BaseSimpleCPU(Params *p) 72 : BaseCPU(p), traceData(NULL), thread(NULL), predecoder(NULL) 73{ 74#if FULL_SYSTEM 75 thread = new SimpleThread(this, 0, p->system, p->itb, p->dtb); 76#else 77 thread = new SimpleThread(this, /* thread_num */ 0, p->process, | 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; --- 61 unchanged lines hidden (view full) --- 70 71BaseSimpleCPU::BaseSimpleCPU(Params *p) 72 : BaseCPU(p), traceData(NULL), thread(NULL), predecoder(NULL) 73{ 74#if FULL_SYSTEM 75 thread = new SimpleThread(this, 0, p->system, p->itb, p->dtb); 76#else 77 thread = new SimpleThread(this, /* thread_num */ 0, p->process, |
78 /* asid */ 0); | 78 p->itb, p->dtb, /* asid */ 0); |
79#endif // !FULL_SYSTEM 80 81 thread->setStatus(ThreadContext::Unallocated); 82 83 tc = thread->getTC(); 84 85 numInst = 0; 86 startNumInst = 0; --- 425 unchanged lines hidden --- | 79#endif // !FULL_SYSTEM 80 81 thread->setStatus(ThreadContext::Unallocated); 82 83 tc = thread->getTC(); 84 85 numInst = 0; 86 startNumInst = 0; --- 425 unchanged lines hidden --- |