DMA deals with which address (physical/virtual addresses) ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / gladiator
Slight correction
MMU converts virtual addresses to physical addresses using
help from TLB
| Is This Answer Correct ? | 10 Yes | 1 No |
Explain me what is the main function of multiplexed address/data bus?
How are variables mapped across to the various memories by the c compiler?
What kinds of problems can you hit with lockless model?
Tell me can a variable be both const and volatile?
What are the advantages and disadvantages of separation of concerns?
What is the difference between locking and lockless (optimistic and pessimistic) concurrency models?
What is difference between using a macro and inline function?
What is a memory leak? What is a segmentation fault?
Explain the difference between risc and cisc processor?
Tell me what is the difference between hardware design and software design?
How does a 3 tier application differ from a 2 tier one?
Why is it better to use multi-threading polling instead of a single threading model?