[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trying to understand QOM object creation and property linking
|
From: |
Peter Maydell |
|
Subject: |
Re: Trying to understand QOM object creation and property linking |
|
Date: |
Thu, 6 Jan 2022 15:52:22 +0000 |
On Thu, 6 Jan 2022 at 15:45, Alex Bennée <alex.bennee@linaro.org> wrote:
> Peter Maydell <peter.maydell@linaro.org> writes:
> > Yeah, that trick only works for the real CPU object, not for
> > passing to SoC or SoC-like objects.
>
> Hmm I wonder if I should be instantiating the underlying CPU object?
> AIUI the cores are cortex-m0+ so I assume that comes with the gic/irq
> wiring up that armv7m does?
M-profile's a funny special case -- you do always need to create
the armv7m object, which wires up the NVIC and CPU objects together.
-- PMM