summary refs log tree commit diff stats
path: root/net/socket.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-05-12 11:17:01 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2017-06-06 02:34:04 -0700
commit30c2afd151cbc38c012f7b441088980807183da6 (patch)
treec43261343f128d4e138acb65de61bac6ca985286 /net/socket.c
parenta0d4aac7467dd02e5657b79e867f067330266a24 (diff)
downloadfocaccia-qemu-30c2afd151cbc38c012f7b441088980807183da6.tar.gz
focaccia-qemu-30c2afd151cbc38c012f7b441088980807183da6.zip
target/xtensa: fix mapping direction in read/write simcalls
Read and write simcalls map physical memory to access I/O buffers, but
'read' simcall need to map it for writing and 'write' simcall need to
map it for reading, i.e. the opposite of what they do now. Fix that.

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions