Re: Issuing BIOS interrupts in Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In a single sentence,
"you cannot".
The reason is that bios interrupts can only be used in real mode and not
in protected mode. Linux runs in protected mode, and so this would not
be possible.

What is it you are trying to do? Maybe there's a better way to do it...
(by using the block device subsystem, for instance)
-rahul

On Fri, 2006-08-04 at 16:30 +0530, Rajat Jain wrote:
> Hi List,
> 
> I want to issue BIOS interrupts in Linux (both user space & kernel
> space are fine). More specifically I want to issue BIOS interrupt 13h
> for accessing disk using the BIOS routines. How can I do so (issue the
> BIOS interrupt)?
> 
> In the file /proc/interrupts on my system, the interrupt 13 h (19
> decimal) is used by some USB driver:
> 
>  16:          0        Phys-irq  uhci_hcd:usb1, uhci_hcd:usb4
>  17:          2        Phys-irq  peth0
>  18:     637572        Phys-irq  eth1
>  19:          0        Phys-irq  uhci_hcd:usb2
>  20:    1275249        Phys-irq  uhci_hcd:usb3
> 
> So will I be able to use the BIOS routine in this case?
> 
> TIA,
> 
> Rajat
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux