diff options
| author | Alexey Gavrilov <rebovas@yahoo.com> | 2024-04-10 12:58:20 +0700 |
|---|---|---|
| committer | Alexey Gavrilov <rebovas@yahoo.com> | 2024-04-10 12:58:20 +0700 |
| commit | 515a11b818e4140845f69bb26a19d270a9e42178 (patch) | |
| tree | fd22e0d8d56a6498fb67ffcd99da0a45b97ab5f3 /include/types.h | |
| parent | 9ad5b9b6a1f8d641ac13f7c004afd6ea9bff50ee (diff) | |
MSR + IDT + test ISRs
Diffstat (limited to 'include/types.h')
| -rw-r--r-- | include/types.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
