Re: [PULL 20/27] linux-user/nios2: Map a real kuser page

2022-01-10 Thread Peter Maydell
On Thu, 6 Jan 2022 at 11:01, Laurent Vivier wrote: > > From: Richard Henderson > > 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. > >

[PULL 20/27] linux-user/nios2: Map a real kuser page

2022-01-06 Thread Laurent Vivier
From: Richard Henderson 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 Reviewed-by: Laurent Vivier Message-Id: