Pierrick Bouvier <pierrick.bouv...@linaro.org> writes: > Different code paths handle memory accesses: > - tcg generated code > - load/store helpers > - atomic helpers > > This value is saved in cpu->neg.plugin_mem_value_{high,low}. Values are > written only for accessed word size (upper bits are not set). > > Atomic operations are doing read/write at the same time, so we generate > two memory callbacks instead of one, to allow plugins to access distinct > values. > > For now, we can have access only up to 128 bits, thus split this in two > 64 bits words. When QEMU will support wider operations, we'll be able to > reconsider this. > > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > Signed-off-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>
Reviewed-by: Alex Bennée <alex.ben...@linaro.org> -- Alex Bennée Virtualisation Tech Lead @ Linaro