This video mentions the following:

enter image description here

What does it mean for the DMA controller to be granted the data bus control, does that mean the CPU cannot use the bus to access memory and IO devices until the DMA controller re-grants the data bus control to the CPU?

Yes. The DMA controller takes ownership of the bus for the duration of the transfer.

That said, I feel obliged to point out that at least on PC-based machines, DMA controllers have been almost entirely obsolete for quite a while now.

On a reasonably modern machine, the DMA controller is used only for I/O to/from floppy disks (and only “directly” connected floppy disks–a floppy that connects via USB doesn’t count).

There was also a short time that DMA controllers were used for hard drive transfers, but that was a long time ago (PC-XT) and became obsolete only slightly more recently (PC/AT).

In addition, the DMA controller(s) in a PC depend on specific characteristics of the original ISA bus. To do a DMA transfer, the DMA controller told the bus that it was doing both a memory write and an I/O read (or vice versa) simultaneously. This read data onto the bus, and wrote data to memory (or, again, vice versa) in a single bus cycle.

However, the PCI bus (and PCIe) doesn’t have separate lines to be able to simultaneously assert that it’s doing an I/O read and a memory write. In any given bus cycle, it can only do one of these types of transactions.

So, when the PCI bus came into use, DMA went from obsolete to downright…well, I can’t think of a better term, but became an even worse prospect. Modern computers include a fair amount of jumping through hoops to allow DMA controllers to still work, just in case you decide to use a non-USB floppy disk, but the reality is that nowadays, most machines are probably bought, used, and thrown away, without ever (even once) actually using the DMA controllers.

On a reasonably modern machine, the closest analog of DMA that actually gets used enough to notice is bus mastering controllers. A bus mastering controller works vaguely similarly to a DMA controller. The difference is that instead of having one DMA controller for all peripherals, each peripheral has its own specialized controller that can get control of the bus, do a transfer (e.g., directly to/from the machine’s main memory) and then give up its control of the bus. This has a number of obvious advantages–primary among them that it actually works with PCI and PCIe. I suppose I should add: with the advent of PCIe, even that’s not really accurate anymore either. PCI was a bus, but PCIe isn’t. Instead, it uses a switch fabric, so (among other things) if A wants to talk to B, and C wants to talk to D, those transactions can happen simultaneously, whereas on a bus only one transaction would have been allowed at a time.

Anyway, DMA is almost entirely a historical artifact. If you want to learn more about DMA-like processes that’s relevant to a current computer, you probably want to study bus mastering.

7

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật