diff --git a/kern/libkern/stdint.h b/kern/libkern/stdint.h index b7cbc0f..aaced78 100644 --- a/kern/libkern/stdint.h +++ b/kern/libkern/stdint.h @@ -6,12 +6,22 @@ typedef unsigned short u16; typedef unsigned int u32; typedef unsigned long u64; +typedef char i8; +typedef short i16; +typedef int i32; +typedef long i64; + typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long uint64_t; -typedef uint64_t size_t; +typedef char int8_t; +typedef short int16_t; +typedef int int32_t; +typedef long int64_t; + +typedef uint64_t size_t; typedef uint64_t uintptr_t; #define INT8_MIN (-128)