Hi,
I would like to understand the working of softmmu_template.h - the main place where host VA -> guest PA happens in QEMU. I am aware of theoretical working of paging and how TLB saves page walks by acting as a cache. I am in particular, trying to understand the source code implementation. Can anyone help me provide pointers for the following question to get a grasp of the working? (We can perhaps take target-i386 as example).
- The handling of IO access, aligned and un-aligned cases
- The concept of mmu_idx in tlb_table and iotlb
Thanks in advance,
Sandhya