are pnp bios functions available on x86_64 platform?
Dear All,
I'm quite tired about it right now. The PnP bios function works fine(drviers/pnp) in previous versions of Red Hat. But it fails on x86_64 platform, Red Hat Enterprise AS 3, 2.4.21-15.EL.
I need this driver to make PnP BIOS function calls(16-protected mode).
Could anyone help me? Thank in advance.
BTW, i tried to make an indirect long lcall on this platform, but it pass the compilation, what is wrong with it? The cold is like:
__asm__ volatile__(
"lcall *(%0), ($0)\n\t" ::"i"(MYCS_SELECTOR)
);
gcc __KERNEL__ -DMODULE -D__SMP__ -Wall -I/usr/src/linux-2.4/include -O2 -c -o foo.o foo.c
while the error message is like: "too many memory references for `lcall'
MYCS_SELECTOR is a const integer that is used as a select of a 32-bit code segment.
Thanx
Winter
|