changeset 25ae7c9393d9 in /z/repo/encumbered
details: http://repo.m5sim.org/encumbered?cmd=changeset;node=25ae7c9393d9
summary: these changes go with the changes I just pushed to m5 re: registering 
a context

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
eio/eio.cc |    2 +-

diffs (21 lines):

diff -r e79d42d3f05e -r 25ae7c9393d9 eio/eio.cc
--- a/eio/eio.cc        Wed Nov 14 04:32:09 2007 -0800
+++ b/eio/eio.cc        Tue Nov 04 11:40:05 2008 -0500
@@ -633,14 +633,15 @@
     Process::startup();
 
     /* load initial state checkpoint */
-    if (read_chkpt(threadContexts[0], eio_fd) != -1)
+    if (read_chkpt(system->getThreadContext(contextIds[0]), eio_fd) != -1)
        fatal("bad initial checkpoint in EIO file");
 
     /* load checkpoint? */
     if (chkpt_fd) {
        Counter restore_icnt;
        /* load the state image */
-       restore_icnt = read_chkpt(threadContexts[0], chkpt_fd);
+       restore_icnt = read_chkpt(system->getThreadContext(contextIds[0]),
+                chkpt_fd);
 
        /* fast forward the baseline EIO trace to checkpoint location */
        cprintf("sim: fast forwarding to instruction %d\n", restore_icnt);
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to