qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 01/29] default-configs: Add TARGET_XML_FILES definition


From: Richard Henderson
Subject: Re: [PATCH 01/29] default-configs: Add TARGET_XML_FILES definition
Date: Mon, 6 Nov 2023 15:22:00 -0800
User-agent: Mozilla Thunderbird

On 11/6/23 07:44, Alex Bennée wrote:
+TARGET_XML_FILES=gdb-xml/loongarch-base32.xml gdb-xml/loongarch-base64.xml 
gdb-xml/loongarch-fpu.xml


The qemu-loongarch64 binary emulates loongarch64 only, not
loongarch32.  The inclusion of loongarch-base32.xml here is not
relevant.

Does the system binary emulate both?

Yes.

Technically, the user-only binary will emulate the 32-bit cpu just fine. But much like aarch64, there is no ilp32 kernel abi for loongarch.


That said, we don't exclude TYPE_LOONGARCH32_CPU or -cpu la132 from
CONFIG_USER_ONLY, which is a separate mistake.

Where should that be done?

Probably target/loongarch/cpu.c, by omitting TYPE_LOONGARCH32_CPU and "la132".


r~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]