From: John Hodge Date: Mon, 17 Oct 2011 14:57:31 +0000 (+0800) Subject: Kernel/x86 - Fixed bug in user start, hidden by not updating usermode X-Git-Tag: rel0.13~43 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d48818efad07523eba505813b60a82d13b35499a;hp=4ed4bb31a7a12c87169a0e0f638ca8757b3e0e27;p=tpg%2Facess2.git Kernel/x86 - Fixed bug in user start, hidden by not updating usermode --- diff --git a/Kernel/arch/x86/proc.c b/Kernel/arch/x86/proc.c index 255765a8..cb772f4b 100644 --- a/Kernel/arch/x86/proc.c +++ b/Kernel/arch/x86/proc.c @@ -726,7 +726,6 @@ void Proc_StartUser(Uint Entrypoint, Uint Base, int ArgC, char **ArgV, int DataS *--stack = (Uint)ArgV; *--stack = (Uint)ArgC; *--stack = Base; - *--stack = 0; // Return Address Proc_StartProcess(ss, (Uint)stack, 0x202, cs, Entrypoint); }