Add sys/types.h impl
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
typedef uintptr_t size_t;
|
||||
typedef intptr_t ssize_t;
|
||||
Reference in New Issue
Block a user