Hi, Can I know how these "values" are written https://github.com/qemu/qemu/blob/stable-6.0/hw/char/pl011.c#L33-#L39. I tried to check and read from the reference manual but I did not get it? Please let me know.
BR. Abhijeet. On Fri, Dec 10, 2021 at 5:14 PM Peter Maydell <peter.mayd...@linaro.org> wrote: > On Fri, 10 Dec 2021 at 15:44, abhijeet inamdar > <abhijeetinamdar3...@gmail.com> wrote: > > > > Hi, > > > > In the Qemu monitor: > > > > (qemu) info qom-tree > > /machine (vcpu-machine) > > /peripheral (container) > > /peripheral-anon (container) > > /unattached (container) > > /sysbus (System) > > > What does this "Unattached" mean here? > > "/unattached" is where all QOM objects which don't have an > explicit parent get put. More modern QEMU code generally > creates QOM objects and explicitly parents them; older code > does not. Machine model code often doesn't parent the devices > it creates, for instance. > > The shape of the QOM tree doesn't generally make any > difference in practice to how things run. > > thanks > -- PMM >