]> git.proxmox.com Git - mirror_qemu.git/commit
target/xtensa: linux-user: fix sysv IPC structures
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 1 Apr 2018 17:00:05 +0000 (10:00 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 1 Apr 2018 21:05:23 +0000 (14:05 -0700)
commita3da8be5126be0d17e8ebc76655f185aeb647f7a
tree1718338cd4f26ab69ba66ccc072b3cefad3234d3
parenta23ea409824afb9bce3a4d54881310757811c218
target/xtensa: linux-user: fix sysv IPC structures

- make target_ipc_perm fields match kernel definitions for xtensa;
- add target_semid64_ds with proper order of times and reserved fields
  for little/big endian specific for xtensa;
- add missing reserved fields after time fields to the target_shmid_ds;
- fix types of shm_cpid, shm_lpid and shm_nattch fields of
  target_shmid_ds to match kernel definitions for xtensa.

These changes fix guest ipcs output and fix glibc testsuite tests
sysvipc/test-sysvsem and sysvipc/test-sysvshm.

Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
linux-user/xtensa/target_structs.h