Direct Memory Access (DMA)

Description

0 Operating Systems (Input/Output) Note on Direct Memory Access (DMA), created by Ahmad Abdelwahed on 27/06/2015.
Ahmad Abdelwahed
Note by Ahmad Abdelwahed, updated more than 1 year ago
Ahmad Abdelwahed
Created by Ahmad Abdelwahed almost 9 years ago
10
0

Resource summary

Page 1

The CPU can request data from an I/O controller one byte at a time, but doing so wastes the CPU's time.We assume that the CPU accesses all devices and memory via a single system bus that connects the CPU, the memory, and the I/O devices.The DMA controller has access to the system bus independent of the CPU.It contains several registers that can be written and read by the CPU. These include memory address register, a byte count register, and one or more control registers.Control register specify the I/O port to use, the direction of the transform (read or write), the transfer unit (byte or word) and the number of bytes to transfer in one burst.Many buses can operate in two modes; word-at-a-time block Cycle stealing : In the former mode, the operation is: the DMA controller requests the transfer of one word and gets it. If the CPU also wants the bus, it has to wait. Burst mode : In block mode, the DMA controller tells the device to acquire the bus, issue a series of transfers, then release the bus.

Show full summary Hide full summary

Similar

Components of An Operating System - Jason Madappattu
Jason EM
OS1: Operating system basics
MpoMp
OS9: Processes
MpoMp
OS11: Interprocess communication
MpoMp
Operating Systems
bubblesthelabrad
OS10: Threads
MpoMp
OS Final
Hello World
OS2: Operating systems' history
MpoMp
OS3: Hardware
MpoMp
OS5: Operating system concepts
MpoMp
OS4: Operating system types
MpoMp