I noticed that this access type check in cputlb.c has been commented out:
|
// TODO: Does not work? |
|
// if (type == MMU_DATA_STORE) { |
|
syx_snapshot_dirty_list_add_hostaddr(l->page[0].haddr); |
|
// } |
I don't see why this check would not work?
Also, pages with flags like TLB_MMIO and TLB_DISCARD_WRITE would not need to be considered for snapshot. Would it not make sense to check those as well?