projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d64673
)
xen: use uint64_t instead of target_ulong in cpu_ioreq_move
author
Stefano Stabellini
<stefano.stabellini@eu.citrix.com>
Fri, 20 May 2011 16:57:24 +0000
(16:57 +0000)
committer
Stefano Stabellini
<stefano.stabellini@eu.citrix.com>
Fri, 9 Sep 2011 13:13:16 +0000
(13:13 +0000)
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: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-all.c
patch
|
blob
|
history
diff --git
a/xen-all.c
b/xen-all.c
index 84420d83a91ea826a66b15f8b4d845c1639d28ad..1bc2c3c8de30f01516eddf3dbb2be736dddba21e 100644
(file)
--- a/
xen-all.c
+++ b/
xen-all.c
@@
-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++) {