在2024年12月27日十二月 上午5:20,Richard Henderson写道: [...] >>> +++ b/configs/targets/loongarch32-softmmu.mak >>> @@ -0,0 +1,7 @@ >>> +TARGET_ARCH=loongarch32 >>> +TARGET_BASE_ARCH=loongarch >>> +TARGET_KVM_HAVE_GUEST_DEBUG=y >>> +TARGET_SUPPORTS_MTTCG=y >>> +TARGET_XML_FILES= gdb-xml/loongarch-base32.xml gdb-xml/loongarch-fpu.xml >>> gdb-xml/ >>> loongarch-lsx.xml gdb-xml/loongarch-lasx.xml >>> +# all boards require libfdt >>> +TARGET_NEED_FDT=y >>> >> >> I'd really like, if possible, to not add a new target, but make the >> current loongarch64-softmmu.mak evolve to support both 32/64 modes. > > Yes indeed. I had assumed the preceding 32-bit target_ulong enablement > was for linux-user. Ok, I'll drop loongarch32-softmmu.mak for now. It's indeed mostly for linux-user. I enabled softmmu just for validating the code. Thanks > > > r~ -- - Jiaxun
- Re: [PATCH v2 19/23] target/loongarch: Introd... Philippe Mathieu-Daudé
- Re: [PATCH v2 19/23] target/loongarch: In... Jiaxun Yang
- [PATCH v2 20/23] hw/loongarch/virt: Default to max... Jiaxun Yang
- Re: [PATCH v2 20/23] hw/loongarch/virt: Defau... Philippe Mathieu-Daudé
- Re: [PATCH v2 20/23] hw/loongarch/virt: D... Jiaxun Yang
- Re: [PATCH v2 20/23] hw/loongarch/vir... Philippe Mathieu-Daudé
- [PATCH v2 18/23] target/loongarch: ifdef out 64 bi... Jiaxun Yang
- [PATCH v2 23/23] config: Add loongarch32-softmmu t... Jiaxun Yang
- Re: [PATCH v2 23/23] config: Add loongarch32-... Philippe Mathieu-Daudé
- Re: [PATCH v2 23/23] config: Add loongarc... Richard Henderson
- Re: [PATCH v2 23/23] config: Add loon... Jiaxun Yang
- [PATCH v2 03/23] target/loongarch: Fix PGD CSR for... Jiaxun Yang
- [PATCH v2 15/23] target/loongarch: Fix load type f... Jiaxun Yang
- Re: [PATCH v2 15/23] target/loongarch: Fix lo... Richard Henderson
- [PATCH v2 21/23] qapi/machine: Replace TARGET_LOON... Jiaxun Yang
- Re: [PATCH v2 21/23] qapi/machine: Replace TA... Markus Armbruster
- [PATCH v2 04/23] target/loongarch: Perform sign ex... Jiaxun Yang
- [PATCH v2 13/23] target/loongarch: Fix rdtimer on ... Jiaxun Yang
- Re: [PATCH v2 13/23] target/loongarch: Fix rd... Richard Henderson
- [PATCH v2 09/23] target/loongarch: Use target_ulon... Jiaxun Yang
- Re: [PATCH v2 09/23] target/loongarch: Use ta... Richard Henderson