summaryrefslogtreecommitdiff
path: root/api/kernel
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-05-06 14:10:42 +0000
committerAda Christine <adachristine18@gmail.com>2021-05-06 14:10:42 +0000
commitaf0a10fdce88d58ea3bef9c2994694cc96fe9d08 (patch)
tree929b31763b0b85109ce13271d424c40027092baf /api/kernel
parent4fffc7eb44a6d85fdc5627a71cff4f392068f5e7 (diff)
moved paging code, slight modifications
Diffstat (limited to 'api/kernel')
-rw-r--r--api/kernel/entry.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/kernel/entry.h b/api/kernel/entry.h
index 0dae45d..8a26125 100644
--- a/api/kernel/entry.h
+++ b/api/kernel/entry.h
@@ -1,7 +1,7 @@
#pragma once
#define KERNEL_ENTRY_STACK_SIZE 0x4000
-#define KERNEL_ENTRY_STACK_HEAD 0xffffffffff000000
-#define KERNEL_ENTRY_STACK_BASE (KERNEL_ENTRY_STACK_HEAD - KERNEL_ENTRY_STACK_SIZE)
+#define KERNEL_ENTRY_STACK_HEAD (void *)0xffffffffff000000
+#define KERNEL_ENTRY_STACK_BASE ((char *)KERNEL_ENTRY_STACK_HEAD - KERNEL_ENTRY_STACK_SIZE)
typedef void (*kernel_entry_func)(void *data);