On Sun, Sep 04, 2016 at 03:49:22PM +0200, Laurent Vivier wrote:
> Le 11/07/2016 à 18:59, Peter Maydell a écrit :
> > On 8 July 2016 at 00:17, Laurent Vivier wrote:
> >> TARGET_NR_select can have three different implementations:
> >>
> >> 1- to always return -ENOSYS
> >>
> >> microblaze, ppc
Le 11/07/2016 à 18:59, Peter Maydell a écrit :
> On 8 July 2016 at 00:17, Laurent Vivier wrote:
>> TARGET_NR_select can have three different implementations:
>>
>> 1- to always return -ENOSYS
>>
>> microblaze, ppc, ppc64
>>
>> -> TARGET_WANT_NI_OLD_SELECT
>>
>> 2- to take parameters
On 8 July 2016 at 00:17, Laurent Vivier wrote:
> TARGET_NR_select can have three different implementations:
>
> 1- to always return -ENOSYS
>
> microblaze, ppc, ppc64
>
> -> TARGET_WANT_NI_OLD_SELECT
>
> 2- to take parameters from a structure pointed by arg1
> (kernel sys_old_sel
Laurent,
Seems to work well for my specific case – select no longer returns EFAULT on
x86_64 linux user mode, and the arguments are passed correctly.
Thank you!
Cheers,
Allan
On 7/7/16, 7:17 PM, "Laurent Vivier" wrote:
>TARGET_NR_select can have three different implementations:
>
> 1- to al
TARGET_NR_select can have three different implementations:
1- to always return -ENOSYS
microblaze, ppc, ppc64
-> TARGET_WANT_NI_OLD_SELECT
2- to take parameters from a structure pointed by arg1
(kernel sys_old_select)
i386, arm, m68k
-> TARGET_WANT_OLD_SYS_SELECT