summaryrefslogtreecommitdiffstats
path: root/include/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index 54dcc25..e578adb 100644
--- a/include/types.h
+++ b/include/types.h
@@ -5,3 +5,9 @@ typedef unsigned char uint8;
typedef unsigned short int uint16;
typedef unsigned long uint32;
typedef unsigned long long uint64;
+
+#if defined(__x86_64)
+ typedef uint64 memAddr;
+#else
+ typedef uint32 memAddr;
+#endif