Re: Generic Disk Driver in Linux

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

 



The int 13 calls to the bios can only accept addresses within the first 1 MB of memory, and the calls are synchronous, so DMA really doesn't matter as the cpu will be busy waiting anyhow while the IO takes place, which will wreak all kinds of hell on the rest of the running system, including other hardware ISRs.


Aleksey Gorelov wrote:
thing will be really really bad... (hint: real mode can access only 1Mb
of memory, so you will bounce buffer all IO's)
This is true for non-dma case only. As I already mentioned before, most BIOSes support dma, and there is no 1Mb limit for that (at least on modern hw).

Aleks.


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