Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Feb 1996 03:28:58 -0800
From:      David Greenman <davidg@Root.COM>
To:        KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
Cc:        current@FreeBSD.org
Subject:   Re: TSS broken 
Message-ID:  <199602011128.DAA01552@Root.COM>
In-Reply-To: Your message of "Mon, 01 Jan 1996 11:50:18 %2B0900." <199601010250.LAA00929@marble.eps.nagoya-u.ac.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602011128.DAA01552>