From 515a11b818e4140845f69bb26a19d270a9e42178 Mon Sep 17 00:00:00 2001 From: Alexey Gavrilov Date: Wed, 10 Apr 2024 12:58:20 +0700 Subject: MSR + IDT + test ISRs --- 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 9fef833..16f67d9 100644 --- a/include/types.h +++ b/include/types.h @@ -12,6 +12,12 @@ typedef unsigned short int uint16; typedef unsigned long uint32; typedef unsigned long long uint64; +#if defined(__x86_64__) + typedef uint64 uword; +#else + typedef uint32 uword; +#endif + #if defined(__x86_64) || defined(__i686) typedef uint64 uintptr; #else -- cgit v1.2.3