From: Julien Grall <julien.grall@linaro.org>
To: joshsystem@gmail.com
Cc: xen-devel <xen-devel@lists.xen.org>
Subject: Re: Question about ARM GIC
Date: Fri, 16 Aug 2013 11:17:22 +0100 [thread overview]
Message-ID: <520DFC32.7060302@linaro.org> (raw)
In-Reply-To: <CAOYkbaiPYaNFcP-4Dg=7BJHPs22Q5Ae=6xx4-n_=wRk4hyYFUA@mail.gmail.com>
On 08/16/2013 10:46 AM, Josh Zhao wrote:
> Hi,
Hi,
> Anyone can help me understand that the Dom0 and DomU will initialize
> GICD in booting stage, but I don't see any code to remap GICD for
> guest OS. I am wondering how it works?
The GIC doesn't handle the virtualization for the distributor, so it's
emulated by Xen. All accesses to the GICD will trap and redirect to
xen/arch/arm/vgic.c.
You can look at vgic_distr_mmio_{read,write} in the previous file.
Cheers,
--
Julien Grall
next prev parent reply other threads:[~2013-08-16 10:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-16 9:46 Question about ARM GIC Josh Zhao
2013-08-16 10:17 ` Julien Grall [this message]
2013-08-16 10:59 ` Josh Zhao
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=520DFC32.7060302@linaro.org \
--to=julien.grall@linaro.org \
--cc=joshsystem@gmail.com \
--cc=xen-devel@lists.xen.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.