Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 1995 00:33:35 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        p.richards@elsevier.co.uk, peter@jhome.DIALix.COM
Cc:        CVS-committers@freefall.freebsd.org, bde@zeta.org.au, cvs-user@freefall.freebsd.org, phk@freefall.freebsd.org
Subject:   Re: cvs commit: src/lkm/gnufpu Makefile
Message-ID:  <199512141333.AAA15804@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>The math emulators are a special case. They have a _single_ entry point, 
>and I dont think (from memory) that they reference anything else in the 
>kernel.  We may be able to get away with a very simple a.out style loader 

math_emulate.o references about 10 things in the kernel and has implicit
dependencies on the layout of the pcb.  It is more critical than usual
for the emulator module to be consistent with the kernel.

>and relocator for this special purpose.  (ie: do vnode IO to read in the 
>a.out header, malloc some space, do vnode IO to bring in the code, 
>then relocate it, then set the trap handler to point to the first bit of 
>executable code.  Make it all do vnode IO to (say) /sbin/emulator.o and 
>leave an a.out format object file there.

You can't do output before the file system is mounted r/w.

Bruce



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