diff options
author | Avi Kivity <avi@redhat.com> | 2011-10-16 13:19:17 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-10-16 13:19:17 +0200 |
commit | 08dafab4bde2e7a9fdca8a65f9c41bdb947ff38f (patch) | |
tree | 7f92c603587b6fa77fe01de97b115ef8286349b9 /memory.h | |
parent | b7cd3db6f4d79f11abf0572fdc5e41d0811ea2e2 (diff) | |
download | qemu-08dafab4bde2e7a9fdca8a65f9c41bdb947ff38f.tar.gz qemu-08dafab4bde2e7a9fdca8a65f9c41bdb947ff38f.tar.bz2 qemu-08dafab4bde2e7a9fdca8a65f9c41bdb947ff38f.zip |
memory: use 128-bit integers for sizes and intermediates
Since the memory API supports 64-bit buses, it needs a larger type to represent
intermediate results.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'memory.h')
-rw-r--r-- | memory.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -24,6 +24,7 @@ #include "qemu-queue.h" #include "iorange.h" #include "ioport.h" +#include "int128.h" typedef struct MemoryRegionOps MemoryRegionOps; typedef struct MemoryRegion MemoryRegion; @@ -105,7 +106,7 @@ struct MemoryRegion { const MemoryRegionOps *ops; void *opaque; MemoryRegion *parent; - uint64_t size; + Int128 size; target_phys_addr_t addr; target_phys_addr_t offset; bool backend_registered; |