qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Questions regarding how QEMU initializes virtual peripherals
@ 2018-02-08 10:06 Ramy Sameh
  2018-02-08 10:59 ` Igor Mammedov
  0 siblings, 1 reply; 3+ messages in thread
From: Ramy Sameh @ 2018-02-08 10:06 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Mona Safar, Watheq, Ahmed Aly

Hello all,

I am working with QEMU to simulate VersatilePB board.

I am trying to understand how QEMU initialize the virtual peripherals (e.g.
UART, vectored Interrupt controller .. etc).

When I traced the code, I found a function called "object_init_with_type"
in object.c, in which the function pointer "ti->instance_init(obj)" seems
to call the peripherals initialization functions.

*I have couple of questions here:*
1.) Some peripheral initialization functions are called multiple times such
as pl011_init, why is that ?
2.) Where is the entry point for the whole initialization functionalities
(that will eventually call "object_init_with_type")

Thank you.

-- 
Best Regards,
Ramy Sameh
Embedded Software Engineer

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-09 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-08 10:06 [Qemu-devel] Questions regarding how QEMU initializes virtual peripherals Ramy Sameh
2018-02-08 10:59 ` Igor Mammedov
2018-02-09 12:56   ` Ramy Sameh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).