qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 4/7] linux-user/nios2: Map a real kuser page


From: Laurent Vivier
Subject: Re: [PATCH v2 4/7] linux-user/nios2: Map a real kuser page
Date: Wed, 22 Dec 2021 21:18:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0

Le 21/12/2021 à 03:50, Richard Henderson a écrit :
The first word of page1 is data, so the whole thing
can't be implemented with emulation of addresses.
Use init_guest_commpage for the allocation.

Hijack trap number 16 to implement cmpxchg.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  linux-user/elfload.c        | 50 ++++++++++++++++++++++++++++++++++++-
  linux-user/nios2/cpu_loop.c | 50 ++++++++++++++++++++-----------------
  target/nios2/translate.c    |  9 -------
  3 files changed, 76 insertions(+), 33 deletions(-)


Reviewed-by: Laurent Vivier <laurent@vivier.eu>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]