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<gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang<yangxiaojuan@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(-)