![]() | |
| |||||||
| 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 |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 |
| ppz kkz | 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 ? |
| | |
| | #2 |
| Guru Apprentice | 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... |
| | |
| | #3 |
| ppz kkz | 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) ... |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
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 |