提交 45ad8a22 编写于 作者: Y Yinan Xu

paddr: don't ramdonly initialize memory when used as shared object

上级 25cad0ad
......@@ -29,7 +29,7 @@ void init_mem() {
}
#endif
#ifndef DIFF_TEST
#if !defined(DIFF_TEST) && !_SHARE
srand(time(0));
uint32_t *p = (uint32_t *)pmem;
uint64_t i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册