Add sys/types.h impl

This commit is contained in:
Mark
2019-09-18 23:26:47 +03:00
parent fe71e36814
commit 61f9ebbdae
3 changed files with 7 additions and 5 deletions
+1 -2
View File
@@ -1,8 +1,7 @@
#pragma once
#include "arch/amd64/loader/multiboot.h"
//#include <sys/types.h>
#include "sys/types.h"
#include <stdint.h>
typedef uintptr_t size_t;
void amd64_phys_memory_map(const multiboot_memory_map_t *mmap, size_t length);
+1 -3
View File
@@ -3,9 +3,7 @@
* @brief Kernel heap memory managament functions
*/
#pragma once
//#include <sys/types.h>
#include <stdint.h>
typedef uintptr_t size_t;
#include "sys/types.h"
/**
* @brief Common kernel heap alloc
+5
View File
@@ -0,0 +1,5 @@
#pragma once
#include <stdint.h>
typedef uintptr_t size_t;
typedef intptr_t ssize_t;