diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2015-06-11 18:17:22 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-07-07 14:54:47 +0200 |
commit | b12f7777981953b7d939496283014740bdd6de64 (patch) | |
tree | 47523c572e0b54c85299291f741744e21938cd32 /target-i386/ops_sse.h | |
parent | 4fb5364b9096d6110c46604dbf1e19b7e766e757 (diff) |
Translate offsets to destination address space
The 'offset' field in RDMACompress and 'current_addr' field
in RDMARegister are commented as being offsets within a particular
RAMBlock, however they appear to actually be offsets within the
ram_addr_t space.
The code currently assumes that the offsets on the source/destination
match, this change removes the need for the assumption for these
structures by translating the addresses into the ram_addr_t space of
the destination host.
Note: An alternative would be to change the fields to actually
take the data they're commented for; this would potentially be
simpler but would break stream compatibility for those cases
that currently work.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'target-i386/ops_sse.h')
0 files changed, 0 insertions, 0 deletions