diff options
| author | Ada Christine <adachristine18@gmail.com> | 2021-04-07 11:19:44 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2021-04-07 11:19:44 +0000 |
| commit | 95a2b5509e675ca156eeec663daf088f3c48a75a (patch) | |
| tree | 404e345590c80aca41a70db0321977f1d7fdd05e /api/kernel | |
| parent | 382ee1b11be7e01d2797efe4ccd97ad7c5a4cf72 (diff) | |
moved entry stack definitions
Diffstat (limited to 'api/kernel')
| -rw-r--r-- | api/kernel/entry.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/kernel/entry.h b/api/kernel/entry.h index 791d8b6..7229954 100644 --- a/api/kernel/entry.h +++ b/api/kernel/entry.h @@ -1,3 +1,7 @@ #pragma once +#define KERNEL_ENTRY_STACK_SIZE 0x8000 +#define KERNEL_ENTRY_STACK_HEAD 0xffffffffff000000 +#define KERNEL_ENTRY_STACK_BASE (KERNEL_ENTRY_STACK_HEAD - KERNEL_ENTRY_STACK_SIZE) + typedef void (*kernel_entry_func)(void *data); |
