How to set up handler for 'lcall 0x27,0'

David Woodhouse (David.Woodhouse@mvhi.com)
Thu, 22 Jul 1999 16:16:55 +0100


I'm trying to get Solaris/Intel binary emulation working on Linux. The syscall
trap used on Solaris appears to be 'lcall 0x27,0'.

I noticed the lcall7 handler, and was hoping that I'd be able to just copy it
and change the 7 to 0x27. No such luck.

Nothing in the lcall7 setup or handler, or in the [gl]dt setup that I can find,
appears to make a direct reference to segment 0x07, or indeed to contain the
number seven at all.

Other than 'RTFM', where TFM in question is the entirety of the 386+
architecture manuals, can anyone furnish me with a clue?

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/