Date: Thu, 23 Apr 1998 12:30:01 -0700 (PDT) From: Eivind Eklund <eivind@yes.no> To: freebsd-bugs Subject: Re: kern/6389: Need to be able to access trap-to-signal mapping to for Linux emulation to allow Allegro Common Lisp (and maybe other apps) to run. Message-ID: <199804231930.MAA10857@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/6389; it has been noted by GNATS. From: Eivind Eklund <eivind@yes.no> To: Mike Smith <mike@smith.net.au> Cc: gilham@csl.sri.com, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/6389: Need to be able to access trap-to-signal mapping to for Linux emulation to allow Allegro Common Lisp (and maybe other apps) to run. Date: Thu, 23 Apr 1998 21:25:59 +0200 On Thu, Apr 23, 1998 at 12:07:24PM -0700, Mike Smith wrote: > > I've gone through these changes and fixed style-problems; here are the > > changes as diffs against today's current with hopefully OK stule. > > This pass a LINT compile (I've not yet tested running with a new > > kernel on my own machine; I'll do this in a few minutes). > > Just of curiosity, how does this handle the case where the traphandler > does: > > psignal(); > return; > > ie. never gets to the trapsignal() call? > > In particular, I thought this was the case with the T_PROTFLT trap... The psignal() here is wrapped in if (intr_nesting_level == 0) { which seems to not trigger, at least not for the Linux emulator case. I run with the patch, and it _do_ make Allegro Common Lisp for Linux work properly. If somebody that know this code (trap.c with friends) better than me care to comment, that would be nice. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804231930.MAA10857>