cpu.hh (5707:da86e00f87a0) | cpu.hh (5712:199d31b47f7b) |
---|---|
1/* 2 * Copyright (c) 2004-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; --- 60 unchanged lines hidden (view full) --- 69 70class BaseO3CPU : public BaseCPU 71{ 72 //Stuff that's pretty ISA independent will go here. 73 public: 74 BaseO3CPU(BaseCPUParams *params); 75 76 void regStats(); | 1/* 2 * Copyright (c) 2004-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; --- 60 unchanged lines hidden (view full) --- 69 70class BaseO3CPU : public BaseCPU 71{ 72 //Stuff that's pretty ISA independent will go here. 73 public: 74 BaseO3CPU(BaseCPUParams *params); 75 76 void regStats(); |
77 78 /** Sets this CPU's ID. */ 79 void setCpuId(int id) { cpuId = id; } 80 81 /** Reads this CPU's ID. */ 82 int readCpuId() { return cpuId; } 83 84 protected: 85 int cpuId; | |
86}; 87 88/** 89 * FullO3CPU class, has each of the stages (fetch through commit) 90 * within it, as well as all of the time buffers between stages. The 91 * tick() function for the CPU is defined here. 92 */ 93template <class Impl> --- 714 unchanged lines hidden --- | 77}; 78 79/** 80 * FullO3CPU class, has each of the stages (fetch through commit) 81 * within it, as well as all of the time buffers between stages. The 82 * tick() function for the CPU is defined here. 83 */ 84template <class Impl> --- 714 unchanged lines hidden --- |