|
From: | abhijeet inamdar |
Subject: | Re: Emulate custom machine on qemu-4.2.0 |
Date: | Wed, 15 Sep 2021 13:13:09 +0200 |
On Wed, 15 Sept 2021 at 08:23, abhijeet inamdar
<abhijeetinamdar3005@gmail.com> wrote:
>
> Hi,
>
> As my custom machine is based on cortex-m3 I checked the stellaris.c https://github.com/qemu/qemu/blob/stable-4.2/hw/arm/stellaris.c#1384,1390. Does only this part define the UART peripheral for this machine? Can you point out any basic examples so that I can refer to ARM M3.
Stellaris is an older machine type and not such a great example
of code, but it does have a uart, yes. The function pl011_luminary_create()
is what creates the UART (which is the pl011, in hw/char/pl011.c).
-- PMM
[Prev in Thread] | Current Thread | [Next in Thread] |