diff options
| author | Alexey Gavrilov <90127298+rebovas@users.noreply.github.com> | 2024-04-10 13:12:08 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-10 13:12:08 +0700 |
| commit | 0a50b1758fd3da118408fd724825d0a50a9ecf17 (patch) | |
| tree | 783ed019c87c3c9624a1a13f68c7bafc4c146dfb /include | |
| parent | 9ad5b9b6a1f8d641ac13f7c004afd6ea9bff50ee (diff) | |
| parent | 0c56a0300b7ffbab787a4c974bc164d9a2a57ad2 (diff) | |
Merge pull request #8 from rebovas/msr
Msr + interrupts implement + crude implementation of IDT filling
Diffstat (limited to 'include')
| -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 |
