From owner-freebsd-hackers Thu Oct 10 11:50:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41E2737B401 for ; Thu, 10 Oct 2002 11:50:12 -0700 (PDT) Received: from mailhost.nxad.com (lan.ext.nxad.com [66.250.180.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id F093243EB3 for ; Thu, 10 Oct 2002 11:50:11 -0700 (PDT) (envelope-from sean@nxad.com) Received: from perrin.int.nxad.com (perrin.int.nxad.com [192.168.1.251]) by mailhost.nxad.com (Postfix) with ESMTP id 34F20212F00 for ; Thu, 10 Oct 2002 11:50:11 -0700 (PDT) Received: by perrin.int.nxad.com (Postfix, from userid 1001) id C23EE20F01; Thu, 10 Oct 2002 11:50:10 -0700 (PDT) Date: Thu, 10 Oct 2002 11:50:10 -0700 From: Sean Chittenden To: hackers@freebsd.org Subject: Porting work on sigcontext from linux to BSD... Message-ID: <20021010185010.GZ56492@perrin.int.nxad.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-PGP-Key: finger seanc@FreeBSD.org X-PGP-Fingerprint: 6CEB 1B06 BFD3 70F6 95BE 7E4D 8E85 2E0A 5F5B 3ECB X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'm by no means a kernel guy and don't really pretend to be one, but I'm certainly willing to learn given some simple docs. I'm trying to port the bigforth forth compiler to FreeBSD and am having a miserable time doing so because bigforth isn't written in a very generic way. That said, I'm having some impedance issues when trying to simply map lenux's sigcontext struct (asm/sigcontext.h) to FreeBSD's sigcontext struct (machine/signal.h). Specifically, I'm stumped on what esp_at_signal is for and what the equiv of BSD's is. It's not sc_esp since that maps over nicely. Any help or files that I could look at that'd give me some clue as to what it is that I'm playing with and how to use/map this data structure? On a related, but different note, is there any value in having the data members of sigcontext be unsigned long vs just ints? So far as I can tell they're just wasting space, but I could be very wrong. -sc -- Sean Chittenden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message