LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-31-2005, 12:23 AM   #1
wintre75
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
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
 
Old 01-31-2005, 12:55 AM   #2
wintre75
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Original Poster
Rep: Reputation: 0
sorry, "but it pass the compilation" should be "but it can't pass the compilation"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't disable PNP with Phoenix BIOS mixedmemes Linux - Networking 2 08-26-2004 06:52 PM
How can i send message from Linux platform to Windows platform linuxeagle Linux - Networking 1 02-17-2004 12:35 AM
disabling pnp in BIOS sk8guitar Linux - Hardware 1 07-10-2003 01:06 PM
help with PnP OS setting in BIOS jambeck Linux - Hardware 10 11-07-2002 06:16 AM
pnp bios wietze Linux - General 0 09-22-2001 10:20 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration