Dear Avadh,

I am Ishwar Singh Bhati, PhD student in UMCP. We are integrating the DiskSim or FlashDim simulator with the MARSS.

I was trying to understand how Hard Disk requests are handled by PTLsim/QEMU. And at the same time how the time dilation for the hard disk request is simulated in the PTLSim. Like, how many simulation cycles PTLSIM will advance, for a Disk data request.

From my understanding, for a File I/O request, processor will switch to kernel mode and write in to the dma registers to read/write from the Disk. And once the dma has completed the request, it will interrupt the processor that it has completed the request. And then processor will come back to user mode and execute the next instructions. But, how the number of simulation cycles are increasing when DMA is accessing the IDE disk in the QEMU.

Please help me in understanding, how QEMU and PTLSim are interacting for the Disk requests. And how the clock cycles are advancing.

Thanks
Ishwar

_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to