[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 20/20] target/loongarch: Add linux-user emulation support
From: |
Peter Maydell |
Subject: |
Re: [PATCH 20/20] target/loongarch: Add linux-user emulation support |
Date: |
Thu, 1 Jul 2021 11:53:11 +0100 |
On Thu, 1 Jul 2021 at 11:40, Alex Bennée <alex.bennee@linaro.org> wrote:
> Thomas Huth <thuth@redhat.com> writes:
> > I think we'd need some way of automatic regression testing for new
> > targets. If your board has a serial UART that is easy to use, then
> > please add a test in tests/qtest/boot-serial-test.c.
>
> You can also write a very minimal softmmu harness with either
> semihosting or a debug port - currently we can run the tests for
> x86/arm/alpha. See tests/tcg/multiarch/system and the various
> boot.S/kernel.ld in tests/tcg/FOO/system and the Makefile.softmmu-target
> in the relevant directories.
You can only use semihosting if your architecture has actually defined
(ie written down in a spec document that you intend to adhere to)
an ABI for it, though...
-- PMM