From owner-freebsd-current Thu Feb 1 03:29:08 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA19383 for current-outgoing; Thu, 1 Feb 1996 03:29:08 -0800 (PST) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA19371 for ; Thu, 1 Feb 1996 03:28:59 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by Root.COM (8.6.12/8.6.5) with SMTP id DAA01552; Thu, 1 Feb 1996 03:28:58 -0800 Message-Id: <199602011128.DAA01552@Root.COM> X-Authentication-Warning: implode.Root.COM: Host localhost didn't use HELO protocol To: KATO Takenori cc: current@FreeBSD.org Subject: Re: TSS broken In-reply-to: Your message of "Mon, 01 Jan 1996 11:50:18 +0900." <199601010250.LAA00929@marble.eps.nagoya-u.ac.jp> From: David Greenman Reply-To: davidg@Root.COM Date: Thu, 01 Feb 1996 03:28:58 -0800 Sender: owner-current@FreeBSD.org Precedence: bulk Gack, I said: >the call was made. The stack layout looks like this: > >... >address of caller (?) >auto variables used in mi_switch >arguments to cpu_switch (proc) >address of caller (mi_switch) >auto variables used in cpu_switch >arguments to savectx (pcb) >address of caller (cpu_switch) Actually, the stack layout is: ... address of caller (fork1) auto variables used in vm_fork arguments to cpu_fork (proc1, proc2) address of caller (vm_fork) auto variables used in cpu_fork arguments to savectx (pcb) address of caller (cpu_fork) The "switch" code I mentioned previously has nothing to do with this. :-) ...nonetheless, all of my comments still hold generally - I'm pretty sure that you've misunderstood the operation of the 'leal' instruction. The code as I've written it appears to be correct. -DG David Greenman Core Team/Principal Architect, The FreeBSD Project