summaryrefslogtreecommitdiffstats
path: root/apps/init/arch/x86_64
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-08-24 16:05:30 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-08-24 16:05:30 -0400
commitf0248ad1724f9fbdd372db4da8ee8f956ae6aacd (patch)
tree4d661f264a64c562b56a801d3b6a5373415e42d4 /apps/init/arch/x86_64
parent18c389411a0f6283c1b6dffc78bbcfcb237e367b (diff)
downloadjove-os-f0248ad1724f9fbdd372db4da8ee8f956ae6aacd.tar.gz
jove-os-f0248ad1724f9fbdd372db4da8ee8f956ae6aacd.tar.bz2
jove-os-f0248ad1724f9fbdd372db4da8ee8f956ae6aacd.zip
libc heap impl
Diffstat (limited to 'apps/init/arch/x86_64')
-rw-r--r--apps/init/arch/x86_64/link.ld1
-rw-r--r--apps/init/arch/x86_64/paging.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/init/arch/x86_64/link.ld b/apps/init/arch/x86_64/link.ld
index 45b08f5..79da5cb 100644
--- a/apps/init/arch/x86_64/link.ld
+++ b/apps/init/arch/x86_64/link.ld
@@ -7,4 +7,5 @@ SECTIONS
. = 0x1000;
.text BLOCK(PAGESIZE) : ALIGN(PAGESIZE) { *(.text.start) *(.text) *(.rodata) }
.data BLOCK(PAGESIZE) : ALIGN(PAGESIZE) { *(.data) *(.bss) }
+ __program_end = .;
}
diff --git a/apps/init/arch/x86_64/paging.c b/apps/init/arch/x86_64/paging.c
index 641fc8a..36fe950 100644
--- a/apps/init/arch/x86_64/paging.c
+++ b/apps/init/arch/x86_64/paging.c
@@ -13,6 +13,4 @@ pager_setup(void)
size_t lastfree = jove_objdir_lastmemb(&__rootdir) + 1;
__jove_work_obj.membi = lastfree;
__jove_work_obj.parent = &__rootdir;
-
- jove_pager_ensure(0x00000000F0000000);
}