From d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 6 May 2020 19:04:05 +0200 Subject: New build parameters and shared includes This changes many files but I've just applied some replace commands.. So - nothing special! --- src/kernel/lib/lib.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kernel/lib/lib.h') diff --git a/src/kernel/lib/lib.h b/src/kernel/lib/lib.h index b08904f..4308af4 100644 --- a/src/kernel/lib/lib.h +++ b/src/kernel/lib/lib.h @@ -3,7 +3,7 @@ #include #include -#include +#include /** * Copy n data from src to dest @@ -12,7 +12,7 @@ * @param count The number of bytes to be copied (src) * @return The modified dest pointer */ -void *memcpy(void *dest, const void *src, size_t count); +void *memcpy(void *dest, const void *src, u32 count); /** * Replace n bytes of dest by val @@ -21,7 +21,7 @@ void *memcpy(void *dest, const void *src, size_t count); * @param count The number of times val should replace dest entry * @return The modified dest pointer */ -void *memset(void *dest, char val, size_t count); +void *memset(void *dest, char val, u32 count); /** * Compare the first n bytes of a and b @@ -30,7 +30,7 @@ void *memset(void *dest, char val, size_t count); * @param size The number of bytes to be compared * @return -1 if a < b, 0 if a = b and 1 if a > b */ -int memcmp(const void *a_ptr, const void *b_ptr, size_t size); +int memcmp(const void *a_ptr, const void *b_ptr, u32 size); void memory_info_init(struct multiboot_tag_basic_meminfo *tag); @@ -38,6 +38,6 @@ void memory_mmap_init(struct multiboot_tag_mmap *tag); void memory_print(); -uint32_t memory_get_all(); +u32 memory_get_all(); #endif \ No newline at end of file -- cgit v1.2.3