aboutsummaryrefslogtreecommitdiffstats
path: root/cpu-defs.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-08-21 09:24:05 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-08-21 09:24:05 +0000
commitff7b8f5b0f05e632561624c69f9a3557d633c2ae (patch)
treed6deb4878bdc866747532e64e0034209d26ad462 /cpu-defs.h
parent6688bc6d04d1249643eb1494794aa649194c9fbb (diff)
ram_addr_t type for ram offsets
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1542 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-defs.h')
-rw-r--r--cpu-defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu-defs.h b/cpu-defs.h
index 83d1748e2..912133ee6 100644
--- a/cpu-defs.h
+++ b/cpu-defs.h
@@ -66,6 +66,9 @@ typedef uint64_t target_phys_addr_t;
#error TARGET_PHYS_ADDR_BITS undefined
#endif
+/* address in the RAM (different from a physical address) */
+typedef unsigned long ram_addr_t;
+
#define HOST_LONG_SIZE (HOST_LONG_BITS / 8)
#define EXCP_INTERRUPT 0x10000 /* async interruption */