diff options
Diffstat (limited to 'src/arch/alpha')
-rw-r--r-- | src/arch/alpha/freebsd/system.cc | 2 | ||||
-rw-r--r-- | src/arch/alpha/linux/system.cc | 2 | ||||
-rw-r--r-- | src/arch/alpha/tru64/process.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/alpha/freebsd/system.cc b/src/arch/alpha/freebsd/system.cc index e541b260c..ac7a92ed3 100644 --- a/src/arch/alpha/freebsd/system.cc +++ b/src/arch/alpha/freebsd/system.cc @@ -77,7 +77,7 @@ FreebsdAlphaSystem::doCalibrateClocks(ThreadContext *tc) ppc_vaddr = (Addr)tc->readIntReg(17); timer_vaddr = (Addr)tc->readIntReg(18); - virtPort.write(ppc_vaddr, (uint32_t)Clock::Frequency); + virtPort.write(ppc_vaddr, (uint32_t)SimClock::Frequency); virtPort.write(timer_vaddr, (uint32_t)TIMER_FREQUENCY); } diff --git a/src/arch/alpha/linux/system.cc b/src/arch/alpha/linux/system.cc index 1d9332a58..c2af286dd 100644 --- a/src/arch/alpha/linux/system.cc +++ b/src/arch/alpha/linux/system.cc @@ -86,7 +86,7 @@ LinuxAlphaSystem::LinuxAlphaSystem(Params *p) * calculated it by using the PIT, RTC, etc. */ if (kernelSymtab->findAddress("est_cycle_freq", addr)) - virtPort.write(addr, (uint64_t)(Clock::Frequency / + virtPort.write(addr, (uint64_t)(SimClock::Frequency / p->boot_cpu_frequency)); diff --git a/src/arch/alpha/tru64/process.cc b/src/arch/alpha/tru64/process.cc index b039fbe19..824e0413c 100644 --- a/src/arch/alpha/tru64/process.cc +++ b/src/arch/alpha/tru64/process.cc @@ -183,7 +183,7 @@ tableFunc(SyscallDesc *desc, int callnum, LiveProcess *process, TypedBufferArg<Tru64::tbl_sysinfo> elp(bufPtr); const int clk_hz = one_million; - elp->si_user = htog(curTick / (Clock::Frequency / clk_hz)); + elp->si_user = htog(curTick / (SimClock::Frequency / clk_hz)); elp->si_nice = htog(0); elp->si_sys = htog(0); elp->si_idle = htog(0); |