Some bugs in memory driver fixed (destination address of user buffer

not updated)
This commit is contained in:
Ben Gras 2005-07-22 18:25:06 +00:00
parent d09f170abc
commit f73af8573a

View file

@ -197,6 +197,7 @@ unsigned nr_req; /* length of request vector */
SELF, D, (vir_bytes) random_buf, chunk);
random_putbytes(random_buf, chunk);
}
user_vir += chunk;
left -= chunk;
}
break;
@ -211,6 +212,7 @@ unsigned nr_req; /* length of request vector */
proc_nr, D, user_vir, chunk)))
report("MEM","sys_vircopy failed", s);
left -= chunk;
user_vir += chunk;
}
}
break;