diff options
author | Marvin Borner | 2020-05-06 19:04:05 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-06 19:04:05 +0200 |
commit | d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 (patch) | |
tree | 559cd596a0a407d4b40c1d12d3c6a0686494da16 /src/kernel/lib/lib.h | |
parent | 1a8563a05608b5b5e27eada44cf4790926001c68 (diff) |
New build parameters and shared includes
This changes many files but I've just applied some replace commands.. So
- nothing special!
Diffstat (limited to 'src/kernel/lib/lib.h')
-rw-r--r-- | src/kernel/lib/lib.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 <stddef.h> #include <stdint.h> -#include <kernel/multiboot.h> +#include <multiboot.h> /** * 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 |