OSDN Git Service

target-ppc: Rework storage of VPA registration state
authorDavid Gibson <david@gibson.dropbear.id.au>
Mon, 29 Oct 2012 17:24:58 +0000 (17:24 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 1 Nov 2012 12:02:22 +0000 (13:02 +0100)
We change the storage of the VPA information to explicitly use fixed
size integer types which will make life easier for syncing this data with
KVM, which we will need in future.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[agraf: fix commit message]
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/cpu.h

index 286f42a..e603d9f 100644 (file)
@@ -1045,9 +1045,9 @@ struct CPUPPCState {
 #endif
 
 #if defined(TARGET_PPC64) && !defined(CONFIG_USER_ONLY)
-    hwaddr vpa_addr;
-    hwaddr slb_shadow_addr, slb_shadow_size;
-    hwaddr dtl_addr, dtl_size;
+    uint64_t vpa_addr;
+    uint64_t slb_shadow_addr, slb_shadow_size;
+    uint64_t dtl_addr, dtl_size;
 #endif /* TARGET_PPC64 */
 
     int error_code;