Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am new to the linux device driver. I want to call a BIOS interrupt (INT 15) from the linux device driver to read the GPIO status. Is it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    3

    Calling bios interrupt from linux driver


    Hi,

    I am new to the linux device driver. I want to call a BIOS interrupt (INT 15) from the linux device driver to read the GPIO status. Is it possible to access the BIOS interrupt from driver? If YES then how?
    Any help will appreciated...

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,664
    Unless the BIOS is in protected mode operation (usually they are in real mode until the OS takes over), you can't call a BIOS interrupt from the Linux kernel. You need to use the available kernel operations and/or interrupts to do this. So, study some of the kernel programming books available online which will help you learn how to do all this stuff. Also, a lot of useful stuff can be found at The Linux Documentation Project and The Linux Kernel Archives.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    3
    Thanks a lot Rubberman!!!!

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •