qemu-discuss
[Top][All Lists]
Advanced

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

Re: Emulate custom machine on qemu-4.2.0


From: Peter Maydell
Subject: Re: Emulate custom machine on qemu-4.2.0
Date: Wed, 15 Sep 2021 09:57:42 +0100

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



reply via email to

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