From 36e8ee0cdaa904ee00710b1d2df16691729cc93d Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 2 Feb 2021 22:27:27 +0200 Subject: Print some multiboot2 information --- libk/types.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'libk/types.h') 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); -- cgit v1.2.1