summaryrefslogtreecommitdiff
path: root/src/kernel/mem.c
diff options
context:
space:
mode:
authordzwdz2021-07-17 16:31:53 +0200
committerdzwdz2021-07-17 16:31:53 +0200
commitac0e85e081a1a806c8728f96ad9128a369ffc494 (patch)
treeb48b6508add84dec6c9da585edb2f8cdbe20aa20 /src/kernel/mem.c
parent3159a40bdb65f215f7ecce831998e8139e57cf02 (diff)
rename _kernel_end to _bss_end
Diffstat (limited to 'src/kernel/mem.c')
-rw-r--r--src/kernel/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/mem.c b/src/kernel/mem.c
index f383e8b..d002050 100644
--- a/src/kernel/mem.c
+++ b/src/kernel/mem.c
@@ -1,11 +1,11 @@
#include <arch/generic.h>
#include <kernel/mem.h>
-extern void *_kernel_end;
+extern void *_bss_end;
static void *highest_page;
void mem_init() {
- highest_page = &_kernel_end;
+ highest_page = &_bss_end;
}
void *page_alloc(size_t pages) {