From mboxrd@z Thu Jan 1 00:00:00 1970 From: grog@lemis.com (Greg 'groggy' Lehey) Date: Fri, 4 Dec 2015 11:52:05 +1100 Subject: [TUHS] Some notes on running UNIX v6 in 2015, using SimH and a healthy dose of documentation In-Reply-To: <20151203154200.7F88B18C086@mercury.lcs.mit.edu> References: <20151203154200.7F88B18C086@mercury.lcs.mit.edu> Message-ID: <20151204005205.GH19002@eureka.lemis.com> On Thursday, 3 December 2015 at 10:42:00 -0500, Noel Chiappa wrote: > E.g. switching processes probably requires a fair amount, since one > needs to know about internal CPU registers, etc; And there you missed your cue :-) From swtch() in sys/ken/slp.c: /* * If the new process paused because it was * swapped out, set the stack level to the last call * to savu(u_ssav). This means that the return * which is executed immediately after the call to aretu * actually returns from the last routine which did * the savu. * * You are not expected to understand this. */ Greg -- Sent from my desktop computer. Finger grog at FreeBSD.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft MUA reports problems, please read http://tinyurl.com/broken-mua -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: not available URL: