base.cc (2840:227f7c4f8c81) | base.cc (2856:89691405ec9c) |
---|---|
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; --- 49 unchanged lines hidden (view full) --- 58int maxThreadsPerCPU = 1; 59 60#if FULL_SYSTEM 61BaseCPU::BaseCPU(Params *p) 62 : SimObject(p->name), clock(p->clock), checkInterrupts(true), 63 params(p), number_of_threads(p->numberOfThreads), system(p->system) 64#else 65BaseCPU::BaseCPU(Params *p) | 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; --- 49 unchanged lines hidden (view full) --- 58int maxThreadsPerCPU = 1; 59 60#if FULL_SYSTEM 61BaseCPU::BaseCPU(Params *p) 62 : SimObject(p->name), clock(p->clock), checkInterrupts(true), 63 params(p), number_of_threads(p->numberOfThreads), system(p->system) 64#else 65BaseCPU::BaseCPU(Params *p) |
66 : SimObject(p->name), clock(p->clock), params(p), | 66 : MemObject(p->name), clock(p->clock), params(p), |
67 number_of_threads(p->numberOfThreads), system(p->system) 68#endif 69{ 70 DPRINTF(FullCPU, "BaseCPU: Creating object, mem address %#x.\n", this); 71 72 // add self to global list of CPUs 73 cpuList.push_back(this); 74 --- 308 unchanged lines hidden --- | 67 number_of_threads(p->numberOfThreads), system(p->system) 68#endif 69{ 70 DPRINTF(FullCPU, "BaseCPU: Creating object, mem address %#x.\n", this); 71 72 // add self to global list of CPUs 73 cpuList.push_back(this); 74 --- 308 unchanged lines hidden --- |