diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-21 17:06:25 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-03-21 17:06:25 +0000 |
commit | f193c7979c2f7e4e021453689b5dd9c8abdcbbc4 (patch) | |
tree | 476de8558dbbfda14b4e96ce22eb511835f4114a /cpu-defs.h | |
parent | use new directory layout (diff) | |
download | qemu-kvm-f193c7979c2f7e4e021453689b5dd9c8abdcbbc4.tar.gz qemu-kvm-f193c7979c2f7e4e021453689b5dd9c8abdcbbc4.tar.bz2 qemu-kvm-f193c7979c2f7e4e021453689b5dd9c8abdcbbc4.zip |
do not depend on thunk.h - more log items
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@675 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-defs.h')
-rw-r--r-- | cpu-defs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu-defs.h b/cpu-defs.h index 59a0c0f32..bbdb39009 100644 --- a/cpu-defs.h +++ b/cpu-defs.h @@ -41,6 +41,14 @@ typedef uint64_t target_ulong; #error TARGET_LONG_SIZE undefined #endif +#if defined(__alpha__) || defined (__ia64__) || defined(__x86_64__) +#define HOST_LONG_BITS 64 +#else +#define HOST_LONG_BITS 32 +#endif + +#define HOST_LONG_SIZE (HOST_LONG_BITS / 8) + #define EXCP_INTERRUPT 256 /* async interruption */ #define EXCP_HLT 257 /* hlt instruction reached */ #define EXCP_DEBUG 258 /* cpu stopped after a breakpoint or singlestep */ |