base.cc (2856:89691405ec9c) | base.cc (2881:5bcfebdbd31d) |
---|---|
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; --- 45 unchanged lines hidden (view full) --- 54 55// This variable reflects the max number of threads in any CPU. Be 56// careful to only use it once all the CPUs that you care about have 57// been initialized 58int maxThreadsPerCPU = 1; 59 60#if FULL_SYSTEM 61BaseCPU::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; --- 45 unchanged lines hidden (view full) --- 54 55// This variable reflects the max number of threads in any CPU. Be 56// careful to only use it once all the CPUs that you care about have 57// been initialized 58int maxThreadsPerCPU = 1; 59 60#if FULL_SYSTEM 61BaseCPU::BaseCPU(Params *p) |
62 : SimObject(p->name), clock(p->clock), checkInterrupts(true), | 62 : MemObject(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 : 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); --- 312 unchanged lines hidden --- | 63 params(p), number_of_threads(p->numberOfThreads), system(p->system) 64#else 65BaseCPU::BaseCPU(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); --- 312 unchanged lines hidden --- |