On 6/16/22 05:16, Song Gao wrote:
Some functions and member of the structure are different with softmmu-mode
So we need adjust them to support user-mode.
Signed-off-by: Song Gao<gaos...@loongson.cn>
Signed-off-by: Xiaojuan Yang<yangxiaoj...@loongson.cn>
---
target/loongarch/cpu.c | 21 ++++++++++-
target/loongarch/cpu.h | 6 ++++
target/loongarch/helper.h | 2 ++
.../insn_trans/trans_privileged.c.inc | 36 +++++++++++++++++++
target/loongarch/internals.h | 2 ++
target/loongarch/op_helper.c | 6 ++++
6 files changed, 72 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~