[comp.os.xinu] Looking for code to do context switching

david@oahu.cs.ucla.edu (David Dantowitz) (04/06/91)

It was recommended that I repost this message here:

>
>I'm writing code for a simulation engine and one of the components is
>the code to switch the stacks (and load/unload the processes context).
>I'll be running under unix on a Sun (68k), Sparc, and 88k (a BBN
>TC2000 with nX).

>If anyone has shareable code for this task on any of the above
>machines I'd appreciate the help (I've written this stuff for VAX
>processesors and MIPS machines in the past -- the VAX was a bit easier
>than MIPS, you just use two instructions :-)

Thanks,



-- 
David Dantowitz
david@cs.ucla.edu

Singing Barbershop when I'm not computing...