qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Reading and writing functions for QEMU emulated periphe


From: Ramy Sameh
Subject: Re: [Qemu-devel] Reading and writing functions for QEMU emulated peripherals
Date: Sun, 15 Oct 2017 20:49:31 +0200

Many thanks Peter

On Sun, Oct 15, 2017 at 6:50 PM, Peter Maydell <address@hidden>
wrote:

> On 15 October 2017 at 17:47, Ramy Sameh <address@hidden> wrote:
> > I was tracking the calling of function pl011_read, and I noticed that it
> is
> > called from function *memory_region_read_accessor *in memory.c
> >
> > I also noticed that all peripherals reading functions (e.g. pl050_read,
> > pl190_read ... etc) in the emulated VersatilePB board, are called from
> the
> > same location in *memory_region_read_accessor.*
> >
> > *My question is*: Is this calling procedure done for the emulated
> > VersatilePB board *only*, or this is the case for the peripherals in all
> > emulated systems ?
>
> Broadly speaking, yes, all peripheral device read and write
> functions are invoked via the memory subsystem code (which
> is the part of QEMU that figures out what memory region
> covers whatever the physical address that the guest wrote
> to is).
>
> thanks
> -- PMM
>



-- 
Best Regards,
Ramy Sameh
Embedded Software Engineer
+2-010-172-777-14


reply via email to

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