qemu-ppc
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 0/6] Port PPC64/PowerNV MMU tests to QEMU


From: Cédric Le Goater
Subject: Re: [RFC PATCH 0/6] Port PPC64/PowerNV MMU tests to QEMU
Date: Mon, 28 Mar 2022 18:24:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 3/26/22 14:13, Richard Henderson wrote:
On 3/24/22 13:08, Leandro Lupori wrote:
To be able to finish the test and return an exit code to the
calling process, the Processor Attention instruction is used.
As its behavior is implementation dependent, in QEMU PowerNV
it just calls exit with GPR[3] value, truncated to an uint8_t.

I think you're simply thinking too small here, and should consider using the 
attn instruction to implement a full -semihosting interface.  You might as well 
join arm and riscv with CONFIG_ARM_COMPATIBLE_SEMIHOSTING.

yes. This looks like a good interface. We need an instruction
to generate the semihosting calls.

Thanks,

C.



reply via email to

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