From bbac386769210a8ecccba5826cfaf75d431cc2af Mon Sep 17 00:00:00 2001 From: Alexey Gavrilov Date: Mon, 25 Mar 2024 11:24:38 +0700 Subject: Acpi classes + string operations --- include/types.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/types.h') 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 -- cgit v1.2.3