X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=config.h;h=62bc92b5a170e49693b47acaf62531d534133b1a;hb=84e24d516d4e9dbd30f1fff7e9a185d1540d20eb;hp=31ae7a416000a4abfc069034bcb611625ff95a28;hpb=a59176e8094c3a7ec272f70b7f9511f9061dd117;p=model-checker.git diff --git a/config.h b/config.h index 31ae7a4..62bc92b 100644 --- a/config.h +++ b/config.h @@ -4,8 +4,17 @@ #ifndef CONFIG_H #define CONFIG_H -/** Do we have a 48 bit virtual address (64 bit machine) or 32 bit addresses */ + +/** Do we have a 48 bit virtual address (64 bit machine) or 32 bit addresses. + * Set to 1 for 48-bit, 0 for 32-bit. */ +#ifndef BIT48 + +#ifdef _LP64 #define BIT48 1 +#else +#define BIT48 0 +#endif +#endif /* BIT48 */ #endif