提交 fe395217 创建 作者: Austin Clements's avatar Austin Clements

Forgot to remove old mtenable calls from asharing vm test

上级 fb1892e0
......@@ -27,15 +27,11 @@ vmsharing(void* arg)
u64 i = (u64) arg;
volatile char *p = (char*)(0x40000UL + i * 4096);
mtenable("xv6-mapsharing");
if (map((void *) p, 4096) < 0)
die("map failed");
mtdisable("xv6-mapsharing");
mtenable("xv6-mapsharing");
if (unmap((void *) p, 4096) < 0)
die("unmap failed");
mtdisable("xv6-mapsharing");
return 0;
}
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论