提交 6211ffb1 编写于 作者: G good-circle

tests, sv39: should sfence before test

上级 1e2b038e
......@@ -240,6 +240,7 @@ void sv39_hp_atom_test() {
irq_handler_reg(EXCEPTION_STORE_ACCESS_FAULT, &store_access_fault_handler);
irq_handler_reg(EXCEPTION_LOAD_ACCESS_FAULT, &load_access_fault_handler);
asm volatile("sfence.vma");
printf("test sv39 hugepage data write\n");
*hp_rw_ptr = 'a';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册