From 50858d043cbd6f61cc091c6772f981ca2d6cca6b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 00:39:24 +0200 Subject: Added basic exec calls for init and started libc --- src/userspace/libc/stdint.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/userspace/libc/stdint.h (limited to 'src/userspace/libc/stdint.h') diff --git a/src/userspace/libc/stdint.h b/src/userspace/libc/stdint.h new file mode 100644 index 0000000..be28300 --- /dev/null +++ b/src/userspace/libc/stdint.h @@ -0,0 +1,18 @@ +#ifndef MELVIX_STDINT_H +#define MELVIX_STDINT_H + +// TODO: Use shorter fixed length integers as stdint in kernel + +typedef signed char s8; +typedef unsigned char u8; + +typedef signed short s16; +typedef unsigned short u16; + +typedef signed int s32; +typedef unsigned int u32; + +typedef signed long s64; +typedef unsigned long u64; + +#endif -- cgit v1.2.3