Re: [Qemu-devel] [PATCH 2/6] linux-user/alpha: Add define for NR_shmat to enable shmat syscall

2015-01-10 Thread Peter Maydell
Oops, just realized I got RTH's email wrong on the cc. Sorry... -- PMM On 8 January 2015 at 12:19, Peter Maydell peter.mayd...@linaro.org wrote: For historical reasons, the define for the shmat() syscall on Alpha is NR_osf_shmat; however it has the same semantics as this syscall does on all

Re: [Qemu-devel] [PATCH 2/6] linux-user/alpha: Add define for NR_shmat to enable shmat syscall

2015-01-10 Thread Richard Henderson
On 01/10/2015 07:56 AM, Peter Maydell wrote: #define TARGET_NR_osf_shmat209 +/* this has the usual shmat semantics so give it the name syscall.c expects + * so that our support for it is enabled. + */ +#define TARGET_NR_shmat TARGET_NR_osf_shmat Eh, you could just s/osf_// on

[Qemu-devel] [PATCH 2/6] linux-user/alpha: Add define for NR_shmat to enable shmat syscall

2015-01-08 Thread Peter Maydell
For historical reasons, the define for the shmat() syscall on Alpha is NR_osf_shmat; however it has the same semantics as this syscall does on all other architectures, so define TARGET_NR_shmat as well so that QEMU's code for the syscall is enabled. This patch brings our behaviour on the LTP