Re: Issuing BIOS interrupts in Linux

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

 



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)?

Rajat

On 8/5/06, Rahul Iyer <idlisambar@xxxxxxxxx> wrote:
> 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.

Uh ... :-(

> 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
>

Actually I was thinking that if it is possible to perform all the Disk
IO operations using the BIOS routines, then why can't we write a
SINGLE disk driver that will work with all the kinds of disks. The
idea was ofcourse based on the assumption that the driver will be able
to do all disk operation using the BIOS interupts, instead of actually
communicating with the Disk controller hardware.

So all this seems like a bad idea ... or should I say TOTALLY IMPOSSIBLE?

Thanks,

Rajat

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux