提交 2b734340 编写于 作者: S Stefano Stabellini

xen: use uint64_t instead of target_ulong in cpu_ioreq_move

cpu_ioreq_move might move 8 bytes at a time so we must make sure that
the temporary variable can hold 8 bytes.
Signed-off-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
上级 6d646730
......@@ -620,7 +620,7 @@ static void cpu_ioreq_move(ioreq_t *req)
}
}
} else {
target_ulong tmp;
uint64_t tmp;
if (req->dir == IOREQ_READ) {
for (i = 0; i < req->count; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册