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

2022-01-05 Thread Laurent Vivier
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 --- linux-user/elf

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

2021-12-22 Thread Laurent Vivier
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 --- linux-user/elf

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

2021-12-20 Thread 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 --- linux-user/elfload.c| 50 +++