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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux