From f30c9803f05e90087e367953aa142275f8688f61 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 26 Apr 2020 23:23:42 +0200 Subject: Awesome new multitasking system and scheduler --- src/kernel/memory/alloc.c | 2 +- src/kernel/memory/alloc.h | 2 +- src/kernel/memory/paging.c | 2 +- src/kernel/memory/paging.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/kernel/memory') diff --git a/src/kernel/memory/alloc.c b/src/kernel/memory/alloc.c index fbf97d8..fd00cc7 100644 --- a/src/kernel/memory/alloc.c +++ b/src/kernel/memory/alloc.c @@ -186,4 +186,4 @@ void *umalloc(size_t size) void ufree(void *address) { free_internal(uheap, address); -} +} \ No newline at end of file diff --git a/src/kernel/memory/alloc.h b/src/kernel/memory/alloc.h index 16d61f5..7ce5739 100644 --- a/src/kernel/memory/alloc.h +++ b/src/kernel/memory/alloc.h @@ -42,4 +42,4 @@ void init_heap(struct heap_header *heap, size_t size); #define HEAP_MINIMUM 1 #define HEAP_FIND_SIZE (HEAP_TOTAL + HEAP_MINIMUM) -#endif +#endif \ No newline at end of file diff --git a/src/kernel/memory/paging.c b/src/kernel/memory/paging.c index 910b569..4192ba3 100644 --- a/src/kernel/memory/paging.c +++ b/src/kernel/memory/paging.c @@ -140,4 +140,4 @@ struct page_directory *paging_copy_user_directory(struct page_directory *dir) } return copy; -} +} \ No newline at end of file diff --git a/src/kernel/memory/paging.h b/src/kernel/memory/paging.h index c02cd3a..b4881a9 100644 --- a/src/kernel/memory/paging.h +++ b/src/kernel/memory/paging.h @@ -46,4 +46,4 @@ struct page_directory *paging_copy_user_directory(struct page_directory *dir); #define EMPTY_TAB ((struct page_table *)0x00000002) #define PAGE_S 0x400000 -#endif +#endif \ No newline at end of file -- cgit v1.2.3