From: Sergey Fedorov <serge.fdrv@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org
Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, patches@linaro.org
Subject: Re: [Qemu-devel] [PATCH v3 2/6] hw/arm: new interface for devices which need to behave differently for kernel boot
Date: Mon, 7 Sep 2015 15:19:21 +0300 [thread overview]
Message-ID: <55ED80C9.5000700@gmail.com> (raw)
In-Reply-To: <1441383782-24378-3-git-send-email-peter.maydell@linaro.org>
Hi Peter,
On 04.09.2015 19:22, Peter Maydell wrote:
> +typedef struct ARMLinuxBootIfClass {
> + /*< private >*/
> + InterfaceClass parent_class;
> +
> + /*< public >*/
> + /** arm_linux_init: configure the device for a direct boot
> + * of an ARM Linux kernel (so that device reset puts it into
> + * the state the kernel expects after firmware initialization,
> + * rather than the true hardware reset state). This callback is
> + * called once after machine construction is complete (before the
> + * first system reset).
> + *
> + * @obj: the object implementing this interface
> + * @secure_boot: true if we are booting Secure, false for NonSecure
> + * (or for a CPU which doesn't support TrustZone)
> + */
> + void (*arm_linux_init)(ARMLinuxBootIf *obj, bool secure_boot);
Why don't just pass a pointer to arm_boot_info structure itself rather
than its secure_boot element to arm_linux_init()?
> +} ARMLinuxBootIfClass;
Best regards,
Sergey
next prev parent reply other threads:[~2015-09-07 12:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-04 16:22 [Qemu-devel] [PATCH v3 0/6] ARM: enable TZ in the GIC Peter Maydell
2015-09-04 16:22 ` [Qemu-devel] [PATCH v3 1/6] qom: Add recursive version of object_child_for_each Peter Maydell
2015-09-04 16:22 ` [Qemu-devel] [PATCH v3 2/6] hw/arm: new interface for devices which need to behave differently for kernel boot Peter Maydell
2015-09-07 12:19 ` Sergey Fedorov [this message]
2015-09-07 13:17 ` Peter Maydell
2015-09-07 13:52 ` Sergey Fedorov
2015-09-04 16:22 ` [Qemu-devel] [PATCH v3 3/6] hw/intc/arm_gic_common: Configure IRQs as NS if doing direct NS " Peter Maydell
2015-09-04 16:23 ` [Qemu-devel] [PATCH v3 4/6] hw/cpu/{a15mpcore, a9mpcore}: enable TrustZone in GIC if it is enabled in CPUs Peter Maydell
2015-09-04 16:23 ` [Qemu-devel] [PATCH v3 5/6] hw/arm/virt: Default to not providing TrustZone support Peter Maydell
2015-09-04 16:23 ` [Qemu-devel] [PATCH v3 6/6] hw/arm/virt: Enable TZ extensions on the GIC if we are using them Peter Maydell
2015-09-04 23:18 ` [Qemu-devel] [PATCH v3 0/6] ARM: enable TZ in the GIC Edgar E. Iglesias
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55ED80C9.5000700@gmail.com \
--to=serge.fdrv@gmail.com \
--cc=edgar.iglesias@gmail.com \
--cc=patches@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.