Home
last modified time | relevance | path

Searched hist:"005 eb2ae1ff6728de7e6998b7456bd72d4456383" (Results 1 – 2 of 2) sorted by relevance

/qemu/linux-user/x86_64/
H A Dtarget_structs.h005eb2ae1ff6728de7e6998b7456bd72d4456383 Fri Jul 15 15:50:47 UTC 2016 Peter Maydell <peter.maydell@linaro.org> linux-user: Fix target_semid_ds structure definition

The target_semid_ds structure is not correct for all
architectures: the padding fields should only exist for:
* 32-bit ABIs
* x86

It is also misnamed, since it is following the kernel
semid64_ds structure (QEMU doesn't support the legacy
semid_ds structure at all). Rename the struct, provide
a correct generic definition and allow the oddball x86
architecture to provide its own version.

This fixes broken SYSV semaphores for all our 64-bit
architectures except x86 and ppc.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
/qemu/linux-user/
H A Dsyscall.c005eb2ae1ff6728de7e6998b7456bd72d4456383 Fri Jul 15 15:50:47 UTC 2016 Peter Maydell <peter.maydell@linaro.org> linux-user: Fix target_semid_ds structure definition

The target_semid_ds structure is not correct for all
architectures: the padding fields should only exist for:
* 32-bit ABIs
* x86

It is also misnamed, since it is following the kernel
semid64_ds structure (QEMU doesn't support the legacy
semid_ds structure at all). Rename the struct, provide
a correct generic definition and allow the oddball x86
architecture to provide its own version.

This fixes broken SYSV semaphores for all our 64-bit
architectures except x86 and ppc.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>