changeset 2c7b9d01d542 in /z/repo/encumbered details: http://repo.m5sim.org/encumbered?cmd=changeset;node=2c7b9d01d542 summary: fix multicore eio.
diffstat: 0 files changed diffs (25 lines): diff -r 25ae7c9393d9 -r 2c7b9d01d542 eio/eio.cc --- a/eio/eio.cc Tue Nov 04 11:40:05 2008 -0500 +++ b/eio/eio.cc Tue Nov 04 21:55:49 2008 -0500 @@ -71,6 +71,7 @@ // field name in eval.h. #include "eio/libexo.h" +using namespace AlphaISA; using namespace std; static struct { @@ -650,6 +651,13 @@ eio_close(chkpt_fd); chkpt_fd = NULL; } + ThreadContext *tc = system->getThreadContext(contextIds[0]); + //Operate in user mode + tc->setMiscRegNoEffect(IPR_ICM, 0x18); + //No super page mapping + tc->setMiscRegNoEffect(IPR_MCSR, 0); + //Set this to 0 for now, but it should be unique for each process + tc->setMiscRegNoEffect(IPR_DTB_ASN, M5_pid << 57); } _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev