aboutsummaryrefslogtreecommitdiff
path: root/libk/types.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-02-02 22:27:27 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-02-02 22:27:27 +0200
commit36e8ee0cdaa904ee00710b1d2df16691729cc93d (patch)
tree16e3836af7ef9efa6da1bbde4248ae5ad956bf58 /libk/types.h
parentlibk: add its own makefile (diff)
downloadkernel.cpp-36e8ee0cdaa904ee00710b1d2df16691729cc93d.tar.xz
Print some multiboot2 information
Diffstat (limited to 'libk/types.h')
-rw-r--r--libk/types.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libk/types.h b/libk/types.h
index 0818342..be38cb0 100644
--- a/libk/types.h
+++ b/libk/types.h
@@ -13,9 +13,8 @@ static_assert(sizeof(uint16_t) == 2);
typedef unsigned int uint32_t;
static_assert(sizeof(uint32_t) == 4);
-//typedef unsigned long uint64_t;
-//static_assert(sizeof(uint64_t) == 8);
-
+typedef unsigned long long int uint64_t;
+static_assert(sizeof(uint64_t) == 8);
typedef char int8_t;
static_assert(sizeof(int8_t) == 1);
@@ -26,5 +25,5 @@ static_assert(sizeof(int16_t) == 2);
typedef int int32_t;
static_assert(sizeof(int32_t) == 4);
-//typedef long int64_t;
-//static_assert(sizeof(int64_t) == 8);
+typedef long long int int64_t;
+static_assert(sizeof(int64_t) == 8);