AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Languages, Compilers and Interpreters C,C++,C#,.NET,Java,PHP,Perl,SQL and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Dec 6, 2004, 13:43   #1
ppz kkz
 
Davit's Avatar
 
Join Date: Mar 2003
Location: at home
Posts: 122
Rep Power: 6
Reputation: 29
Send a message via ICQ to Davit
2 question to linux experts

Hi all,
I have two questions to Linux experts,
1. Is it possible to call some BIOS function from Linux Kernel ?
I know that BIOS code is written only for real-mode execution, anyway, do u know some trick to call them ?
Davit is offline   Reply With Quote Quote selected
Old Dec 7, 2004, 10:25   #2
Guru Apprentice
 
Join Date: Feb 2002
Location: /dev/null
Posts: 524
Rep Power: 7
Reputation: 10
Send a message via ICQ to Ektich Send a message via Yahoo to Ektich
I myself am not a Linux Developer, but will presume that Linux Kernel will not let you call any interrupts (BIOS functions as you call them) directly, but will provide with an API for most (if not all) of the cases. But then again, if you're writing low-level device driver you have to call BIOS interrupts (again, this is my asusmption, I'm not a Linux developer). So it all depends on what exaclty you're trying to do.

That's one question. What was the second one?

Ektich
__________________
\/\/h47'5 1n 4 n4m3? 7h47 wh1(h w3 (4|| 4 r053,
8y 4ny 07h3r n4m3 w0u|d 5m3|| 45 5w337...
Ektich is offline   Reply With Quote Quote selected
Old Dec 9, 2004, 06:13   #3
ppz kkz
 
Davit's Avatar
 
Join Date: Mar 2003
Location: at home
Posts: 122
Rep Power: 6
Reputation: 29
Send a message via ICQ to Davit
Of Course you can't call BIOS interrupts from Kernel, because the Kernel works already in Protected Mode and disables these kind of interrupts ...

I think the only way is to switch to real mode (with saving processor state), to call the BIOS function, and again swtich to PM (with restoring proc state) ...
Davit is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Линус Торвальдс не изобретал Linux? acid Unix 1 May 21, 2004 08:54
Browser (User Agent) Usage Statistics acid Web Development 4 Jan 12, 2004 08:26
Linux Red Hat 9. Будет ли он платным? Overlord Unix 1 Apr 2, 2003 02:04
Microsoft changes its tune toward Linux Rust Unix 0 Aug 13, 2002 08:36
Question about Linux A.V. Unix 19 Mar 22, 2002 06:51


All times are GMT. The time now is 01:09.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link