diff options
| author | Alexey Gavrilov <90127298+rebovas@users.noreply.github.com> | 2024-03-25 11:31:02 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-25 11:31:02 +0700 |
| commit | 91b4d8fa6bed598e2969f16a7a953e293a1b7f89 (patch) | |
| tree | 86bdf89403027760ce567927ec0f1af14d0e4a79 /include/types.h | |
| parent | 1abc315e02a33cd62194b93898263eefd46cbfab (diff) | |
| parent | bbac386769210a8ecccba5826cfaf75d431cc2af (diff) | |
Merge pull request #4 from rebovas/acpi_classes
Implementation ACPI tables through classes
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 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 |
