Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 1999 21:21:18 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        Dima Ruban <dima@best.net>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: OSF/1 binary compatibility
Message-ID:  <199901020221.VAA19722@hurricane.cs.duke.edu>
In-Reply-To: <Pine.BSF.4.01.9901011206130.413-100000@herring.nlsystems.com>
References:  <199812312158.NAA78946@burka.rdy.com> <Pine.BSF.4.01.9901011206130.413-100000@herring.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Doug Rabson writes:
 > On Thu, 31 Dec 1998, Dima Ruban wrote:
 > > /a/home/dima/sys/modules/osf1/../../alpha/osf1/osf1_signal.c:709: structure
 > > has no member named `osf_sigtramp'
 > > *** Error code 1
 > 
 > Oops.  I think I missed one of Andrew's fixes.  I can't find it in my
 > mailbox at the moment, can you post a diff Andrew?

Sorry about that.  I'd done a quick cvs diff on my tree before
posting the emulator & had thought everything got committed. 

The missing piece is something I needed to add to the md proc struct
because the osf1 emulator needs a way to keep track of a per-process
user-level signal trampoline.  Let me know if this gets it compiling:


Index: /sys/alpha/include/proc.h
===================================================================
RCS file: /scratch/freebsd-cvs/src/sys/alpha/include/proc.h,v
retrieving revision 1.4
diff -u -r1.4 proc.h
--- proc.h	1998/11/15 18:25:16	1.4
+++ proc.h	1998/11/16 16:29:55
@@ -43,6 +43,7 @@
 	struct pcb	*md_pcbpaddr;	/* phys addr of the pcb */
 	struct mdbpt	md_sstep[2];	/* two single step breakpoints */
 	u_int64_t	md_hae;		/* user HAE register value */
+	void            *osf_sigtramp;  /* user-level signal trampoline */
 };
 
 #define	MDP_FPUSED	0x0001		/* Process used the FPU */



BTW: Sorry for the delayed response, I'm checking email rather
sporadically over the holiday.

Cheers,

Drew

------------------------------------------------------------------------------
Andrew Gallatin, Sr Systems Programmer	http://www.cs.duke.edu/~gallatin
Duke University				Email: gallatin@cs.duke.edu
Department of Computer Science		Phone: (919) 660-6590

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901020221.VAA19722>