s/cpu_id/cpuId in o3 (to be consistent and match style), also fix some typos in

comments.
This commit is contained in:
Lisa Hsu
2008-10-23 16:49:17 -04:00
parent 546a6c0c1b
commit 8788d703f8
3 changed files with 6 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ class BaseCPUParams;
using namespace TheISA;
BaseO3CPU::BaseO3CPU(BaseCPUParams *params)
: BaseCPU(params), cpu_id(0)
: BaseCPU(params), cpuId(0)
{
}

View File

@@ -76,13 +76,13 @@ class BaseO3CPU : public BaseCPU
void regStats();
/** Sets this CPU's ID. */
void setCpuId(int id) { cpu_id = id; }
void setCpuId(int id) { cpuId = id; }
/** Reads this CPU's ID. */
int readCpuId() { return cpu_id; }
int readCpuId() { return cpuId; }
protected:
int cpu_id;
int cpuId;
};
/**