Re: Issuing BIOS interrupts in Linux

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

 



Rajat Jain wrote:

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.

Because that would be incredibly slow.  You could only have one I/O
request in flight at a time, and the system could not run other
processes while I/O was being done.

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

It might be possible, but it is still a very bad idea :)

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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