Who can change main memory contents besides CPU itself?
Wikipedia speaking about working of CPU caches that "data in the main memory may be changed by other entities than CPU itself (e.g. peripherals using direct memory access (DMA)".
Could you give a real-life use-case / example of this?
I thought CPU itself askes DMA to fetch some data from HDD, DMA does it for CPU and then notifies CPU that data are in main memory. But here CPU initiates it anyway.
Wikipedia speaking about working of CPU caches that "data in the main memory may be changed by other entities than CPU itself (e.g. peripherals using direct memory access (DMA)".
Could you give a real-life use-case / example of this?
I thought CPU itself askes DMA to fetch some data from HDD, DMA does it for CPU and then notifies CPU that data are in main memory. But here CPU initiates it anyway.