]> git.proxmox.com Git - qemu.git/blobdiff - memory.h
memory: use 128-bit integers for sizes and intermediates
[qemu.git] / memory.h
index d5b47da83919d94bcddd63c8c479ea56a9fdfade..7fb36d16ec288a8524e2fed06fe61cf73fe77d02 100644 (file)
--- a/memory.h
+++ b/memory.h
@@ -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;