Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jul 1999 09:08:53 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        Peter Wemm <peter@netplex.com.au>, Martin Cracauer <cracauer@cons.org>, Martin Cracauer <cracauer@freebsd.org>, cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/i386/i386 genassym.c machdep.c src/sys/i386/include frame.h src/sys/kern kern_sig.c src/sys/sys signal.h signalvar.h
Message-ID:  <19990707090853.A27727@cons.org>
In-Reply-To: <Pine.BSF.4.10.9907062322460.304-100000@salmon.nlsystems.com>; from Doug Rabson on Tue, Jul 06, 1999 at 11:28:40PM %2B0100
References:  <19990706170113.CDA7B78@overcee.netplex.com.au> <Pine.BSF.4.10.9907062322460.304-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <Pine.BSF.4.10.9907062322460.304-100000@salmon.nlsystems.com>, Doug Rabson wrote: 
> We need to preserve binary compatibility with OSF/1 programs. The layout
> of struct sigcontext is defined by OSF/1 and is not going to change
> without a bloody good reason.

[...]

> Again, don't change the calling convention for signal delivery without
> knowing exactly what is going on. The current ABI works well and can be
> used unchanged for OSF/1 and probably Linux emulation.

Sorry, I didn't get which argument exactly you want to preserve.

FreeBSD/alpha uses (int, int, struct sigcontext *) as the arguments
for signal handlers, right?

What does OSF/1 use and where does it expect the pointer to struct
sigcontext?

Since sizeof(int) != sizeof(sigcontext *) on alpha, the place for the
third argument will not be the same for
  (int, int, struct sigcontext *)
and
  (int, sometype *, struct sigcontext *)

I find it hard to beleive that OSF/1 uses (int, int struct sigcontext *) 
for non-SA_SIGINFO signal handlers. So where does it get the struct
sigcontext from?

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536


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




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