DMA deals with which address (physical/virtual addresses) ?
Answer Posted / embeddedmatters
DMA deals with Physical addresses.
Only when CPU accesses addresses it refers to MMU(Memory
Management Unit) and MMU converts the Physical address to
Virtual address.
But, DMA controller is a device which directly drives the
data and address bus during data transfer. So, it is purely
Physical address. (It never needs to go through MMU &
Virtual addresses).
That is why when writing the device drivers, the physical
address of the data buffer has to be assigned to the DMA.
| Is This Answer Correct ? | 26 Yes | 3 No |
Post New Answer View All Answers
Tell me what is the need for having multibyte data input and output buffers in case of device ports?
Tell me how to create a child process in linux?
How does the interrupts handle by using the threads?
Tell me which parameters decide the size of data type for a processor?
How are macros different from functions?
Tell me what happens when recursive functions are declared inline?
Please explain can structures be passed to the functions by value?
What is the use of volatile keyword?
Tell me about some of your hobby projects that you've written in your off time.
Describe to me some bad code you've read or inherited lately.
Why do we need a infinite loop in embedded systems development? What are the different ways by which you can code in a infinite loop?
What is the function of simple thread poll in embedded system?
What's the difference between a web server, web farm and web garden? How would your web application need to change for each?
What is the difference between hardware design and software design?
Tell me can structures be passed to the functions by value?