The 16 MB DMA limitation
The 16 MB DMA limitation
How do modern Operating Systems get around the 16MB DMA limitation?
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: The 16 MB DMA limitation
On the most recent systems: They don't use it.
On the somewhat less recent systems: They withhold RAM in the first 16MB until explicitly requested by a driver, or when RAM runs out and the driver should have already claimed what it needs.
On the somewhat less recent systems: They withhold RAM in the first 16MB until explicitly requested by a driver, or when RAM runs out and the driver should have already claimed what it needs.
Re: The 16 MB DMA limitation
So on what do they use instead?
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: The 16 MB DMA limitation
DMA.
The 16MB limit is imposed by ISA devices, and ISA DMA you may actually encounter are the floppy drive and SoundBlasters.
The rest uses busmastering for DMA, which has no 16MB limit (though possibly a 32-bit one).
The 16MB limit is imposed by ISA devices, and ISA DMA you may actually encounter are the floppy drive and SoundBlasters.
The rest uses busmastering for DMA, which has no 16MB limit (though possibly a 32-bit one).
Re: The 16 MB DMA limitation
Is this other type of DMA controlled by the same DMA controllers? If it is, how can it be 32 bit?
- Marionumber1
- Member
- Posts: 56
- Joined: Sun May 08, 2011 9:03 am
Re: The 16 MB DMA limitation
Newer devices, including PCI ones, use bus-mastering DMA. It allows one device to temporarily take over the PCI bus and directly access system memory. Bus-mastering DMA supports 32-bit addresses, and I believe newer PCI controllers also support 64-bit addressing.
Programmer and security enthusiast
DarkSide OS Kernel
Those who do not understand Windows NT are doomed to criticize it, poorly.
DarkSide OS Kernel
Those who do not understand Windows NT are doomed to criticize it, poorly.