在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

Reply via email to