On 2020/7/14 上午2:46, Laurent Vivier wrote:
>> +gparam->value = lock_user(VERIFY_WRITE, target_gparam->value,
>> + sizeof(*gparam->value), 0);
>
> I don't think you should use directly the guest memory.
> You should have something like that:
>
> int value;
>
>
Le 12/07/2020 à 05:41, cheng...@emindsoft.com.cn a écrit :
> From: Chen Gang
>
> It is for i915 drm command, and next, I shall send another i915 commands
> implementations.
>
> Signed-off-by: Chen Gang
> ---
> linux-user/ioctls.h| 3 +++
> linux-user/syscall.c | 39 +
From: Chen Gang
It is for i915 drm command, and next, I shall send another i915 commands
implementations.
Signed-off-by: Chen Gang
---
linux-user/ioctls.h| 3 +++
linux-user/syscall.c | 39 ++
linux-user/syscall_defs.h | 9 +
linux-u