Commit ff7b8f5b0f05e632561624c69f9a3557d633c2ae
1 parent
6688bc6d
ram_addr_t type for ram offsets
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1542 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
0 deletions
cpu-defs.h
... | ... | @@ -66,6 +66,9 @@ typedef uint64_t target_phys_addr_t; |
66 | 66 | #error TARGET_PHYS_ADDR_BITS undefined |
67 | 67 | #endif |
68 | 68 | |
69 | +/* address in the RAM (different from a physical address) */ | |
70 | +typedef unsigned long ram_addr_t; | |
71 | + | |
69 | 72 | #define HOST_LONG_SIZE (HOST_LONG_BITS / 8) |
70 | 73 | |
71 | 74 | #define EXCP_INTERRUPT 0x10000 /* async interruption */ | ... | ... |