diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-19 20:32:34 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-09-19 20:32:34 -0400 |
| commit | b6765812f7da9feccc271e8e0b06f166e8054386 (patch) | |
| tree | b4d4b437d6371d103328893acfdf7199efdb850f /arch/x86_64/sys/init.c | |
| parent | 50a05d7e173f1d610297219925b146f7ef50eef5 (diff) | |
| download | jove-kernel-b6765812f7da9feccc271e8e0b06f166e8054386.tar.gz jove-kernel-b6765812f7da9feccc271e8e0b06f166e8054386.tar.bz2 jove-kernel-b6765812f7da9feccc271e8e0b06f166e8054386.zip | |
fix bugs with map using untyped obj
Diffstat (limited to 'arch/x86_64/sys/init.c')
| -rw-r--r-- | arch/x86_64/sys/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/sys/init.c b/arch/x86_64/sys/init.c index 40c3240..b411fd7 100644 --- a/arch/x86_64/sys/init.c +++ b/arch/x86_64/sys/init.c @@ -138,6 +138,8 @@ init_setup(void) PAGE_WRITEABLE | PAGE_USER | PAGE_XD); extern struct init_payload _init_payload; + _init_payload.brk = last_base + 0x1000; + memcpy((void*)last_base, &_init_payload, sizeof(struct init_payload)); jove_owned_obj_t *message_obj = objdir_getlocal(_rootdir_obj, ROOTDIR_MESSAGE_I); |
