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

2017-10-15 Thread Ramy Sameh
Many thanks Peter On Sun, Oct 15, 2017 at 6:50 PM, Peter Maydell wrote: > On 15 October 2017 at 17:47, Ramy Sameh 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 th

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

2017-10-15 Thread Peter Maydell
On 15 October 2017 at 17:47, Ramy Sameh 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 emu

[Qemu-devel] Reading and writing functions for QEMU emulated peripherals

2017-10-15 Thread Ramy Sameh
Hello all, 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