Date: Fri, 4 Aug 2006 11:52:11 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Peter Grehan <grehan@freebsd.org> Cc: Maxim Sobolev <sobomax@sippysoft.com>, freebsd-ppc@freebsd.org Subject: Re: Looks like threading is b0rken on FreeBSD/powerpc Message-ID: <20060804185211.GA31585@ns1.xcllnt.net> In-Reply-To: <44D13736.6000209@freebsd.org> References: <44D12AC0.90009@sippysoft.com> <0C6ADBC1-E3DF-47D1-AA77-EA9BD14E059F@xcllnt.net> <44D13736.6000209@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[current@ removed from the CC list] On Wed, Aug 02, 2006 at 04:37:26PM -0700, Peter Grehan wrote: > >I could use some help with the ABI details. > > Fire away Marcel. > > The SVR4 ppc abi is at > http://www.cloudcaptech.com/MPC555%20Resources/Programming%20Environment/SVR4abippc.pdf Question: struct pcb has an array called pcb_context, which is used to store non-volatile registers. The ABI tells me that general registers 13 to 31 are to be saved. FreeBSD also saves R12, according to the operands of the stmw intruction and the description of that instruction. Is this observation correct (i.e. that we also save R12 in the PCB) and is this intentional? -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060804185211.GA31585>