From eb168790baa88db9a7c9e6a38a065b502f9a0062 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 16 Jan 2015 23:00:00 +0000 Subject: [PATCH] start: the top of user memory we fake up depends on program base --- Kernel/start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/start.c b/Kernel/start.c index 577d1b2a..ec9d4765 100644 --- a/Kernel/start.c +++ b/Kernel/start.c @@ -61,7 +61,7 @@ void create_init(void) init_process = ptab_alloc(); udata.u_ptab = init_process; - udata.u_top = 4096; /* Plenty for the boot */ + udata.u_top = PROGLOAD + 4096; /* Plenty for the boot */ map_init(); newproc(init_process); -- 2.34.1