summaryrefslogtreecommitdiffstats
path: root/include/types.h
diff options
context:
space:
mode:
authorAlexey Gavrilov <rebovas@yahoo.com>2024-03-25 11:24:38 +0700
committerAlexey Gavrilov <rebovas@yahoo.com>2024-03-25 11:24:38 +0700
commitbbac386769210a8ecccba5826cfaf75d431cc2af (patch)
tree07e5602ec7c694e2302327de54163280a342d3c1 /include/types.h
parentd8a708d4a2c612c348cf7c108a7c1ad683b394d8 (diff)
Acpi classes + string operations
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