开发者

Does a DMA controller have its own registers?

开发者 https://www.devze.com 2023-04-13 02:07 出处:网络
I\'m trying to understand the ins and outs of how a DMA controller functions. I\'m looking at the 8237 DMA controller. Some information here has some tab开发者_JAVA技巧les with register values.

I'm trying to understand the ins and outs of how a DMA controller functions.

I'm looking at the 8237 DMA controller. Some information here has some tab开发者_JAVA技巧les with register values.

Are those the DMA's own registers, or are they the CPU's registers?


The DMA controller registers are distinct from the CPU registers (in the case of the 8237, it's physically a different chip with different silicon). When programming, you can access the DMA controller registers using CPU IN and OUT instructions as described on the page you linked (that's the "I/O Port" column).

A different hardware architecture may provide a different method of accessing a DMA controller registers, for example they could be "memory-mapped" instead of I/O ports.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号