From: Kevin Lim Date: Wed, 8 Mar 2006 18:26:30 +0000 (-0500) Subject: Merge ktlim@zizzer:/bk/m5 X-Git-Tag: m5_2.0_beta1~87^2~26 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67732a7b2816929e41a52998c25eb008217041a5;p=gem5.git Merge ktlim@zizzer:/bk/m5 into zamp.eecs.umich.edu:/z/ktlim2/m5-proxyxc arch/alpha/ev5.cc: cpu/o3/cpu.hh: SCCS merged --HG-- extra : convert_revision : 38889011ea02005c8fd3a7f3b0be3395223f6166 --- 67732a7b2816929e41a52998c25eb008217041a5 diff --cc arch/alpha/ev5.cc index 11faf1850,47ada6de6..ccdcf7502 --- a/arch/alpha/ev5.cc +++ b/arch/alpha/ev5.cc @@@ -155,6 -152,24 +155,18 @@@ CPUExecContext::hwrei( return NoFault; } + int + AlphaISA::MiscRegFile::getInstAsid() + { + return EV5::ITB_ASN_ASN(ipr[IPR_ITB_ASN]); + } + + int + AlphaISA::MiscRegFile::getDataAsid() + { + return EV5::DTB_ASN_ASN(ipr[IPR_DTB_ASN]); + } + -void -AlphaISA::MiscRegFile::clearIprs() -{ - bzero((char *)ipr, NumInternalProcRegs * sizeof(InternalProcReg)); -} - AlphaISA::MiscReg AlphaISA::MiscRegFile::readIpr(int idx, Fault &fault, ExecContext *xc) { diff --cc cpu/o3/cpu.hh index 8f29a25fb,31a1b604b..6577e46e4 --- a/cpu/o3/cpu.hh +++ b/cpu/o3/cpu.hh @@@ -44,17 -44,11 +44,12 @@@ #include "base/timebuf.hh" #include "config/full_system.hh" #include "cpu/base.hh" +#include "cpu/cpu_exec_context.hh" #include "cpu/o3/comm.hh" #include "cpu/o3/cpu_policy.hh" -#include "cpu/exec_context.hh" #include "sim/process.hh" - #if FULL_SYSTEM - #include "arch/ev5.hh" - using namespace EV5; - #endif - +class ExecContext; class FunctionalMemory; class Process;