From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <440784E4.1020400@lanl.gov> Date: Thu, 2 Mar 2006 16:51:00 -0700 From: Ronald G Minnich User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] amd64 support in p9p? References: <79a03ecc1c3386985559c25f009f1d95@swtch.com> In-Reply-To: <79a03ecc1c3386985559c25f009f1d95@swtch.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: matthiasb@acm.org Topicbox-Message-UUID: 0a7c7aa2-ead1-11e9-9d60-3106f5b1d025 Russ Cox wrote: > If the OS does not provide a working makecontext, getcontext, > and setcontext, then you need to write those too. They needn't > follow any structures laid down by the rest of the system. > They just have to match each other. For example, power-ucontext.h > is just made up from scratch. It just needs to be a register set and > match the assembly. Also, I did not realize this when I did armv, but you needn't worry about saving/restoring the signal mask. That really makes like easy -- no syscall needed. ron