Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 1998 12:28:28 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Tom Jackson <toj@gorilla.net>
Cc:        Karl Pielorz <kpielorz@tdx.co.uk>, Chuck Robey <chuckr@mat.net>, freebsd-current@FreeBSD.ORG
Subject:   Re: panic 
Message-ID:  <199810180428.MAA16935@spinner.netplex.com.au>
In-Reply-To: Your message of "Sat, 17 Oct 1998 23:19:53 EST." <19981017231953.A1263@TOJ.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Tom Jackson wrote:
[..]
> options		GPL_MATH_EMULATE	#Support for x87 GPL emulation
> #options		MATH_EMULATE		# x87 emulation


Ahh shit!
sys/gnu/i386/fpuemul/fpu_entry.c:

moduledata_t gnufpumod = {
        "gnufpu",
        gnufpu_modevent,
        0
};
DECLARE_MODULE(gnufpu, gnufpu_modevent, SI_SUB_PSEUDO, SI_ORDER_ANY);

The declaration should be:
DECLARE_MODULE(gnufpu, gnufpumod, SI_SUB_PSEUDO, SI_ORDER_ANY);

This would explain a few things...  The function address is being passed in 
instead of the parameter block.

If you need it, try using plain MATH_EMULATE, or try the fix above.

Cheers,
-Peter




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



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