From: Alan Cox Date: Fri, 16 Jan 2015 23:00:00 +0000 (+0000) Subject: start: the top of user memory we fake up depends on program base X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=eb168790baa88db9a7c9e6a38a065b502f9a0062;p=FUZIX.git start: the top of user memory we fake up depends on program base --- 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);