qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 3/4] xen: use uint64_t instead of target_ulong in cp


From: stefano.stabellini
Subject: [Qemu-devel] [PATCH 3/4] xen: use uint64_t instead of target_ulong in cpu_ioreq_move
Date: Fri, 9 Sep 2011 14:40:08 +0100

From: Stefano Stabellini <address@hidden>

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 <address@hidden>
---
 xen-all.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen-all.c b/xen-all.c
index 9eaeac1..3611e19 100644
--- 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++) {
-- 
1.7.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]