On 5 August 2017 at 02:12, Edgar E. Iglesias <edgar.igles...@gmail.com> wrote: > BTW, a question. I don't know of any from memory but does any arch > have the ability to report the payload that failed for stores? > I guess it's easy enough to add that if needed though.
I think maybe m68k bus fault stack frames have store payload data? The description of them is pretty complicated though and I'm not sure how much of the frame is "stuff we actually need to emulate" vs "data that's only important if your implementation pipelines instruction execution"... As you say, we can easily add a 'uint64_t data' (only valid when access_type == MMU_DATA_STORE), either now or later. thanks -- PMM