mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
arm: Add a comment explaining the GICD writes in the GICC init function
Signed-off-by: Tim Deegan <tim@xen.org> Committed-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
335ba242c5
commit
139692dee4
1 file changed
+3
-1
+3
-1
@@ -224,7 +224,9 @@ static void __cpuinit gic_cpu_init(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
/* Disable all PPI and enable all SGI */
|
||||
/* The first 32 interrupts (PPI and SGI) are banked per-cpu, so
|
||||
* even though they are controlled with GICD registers, they must
|
||||
* be set up here with the other per-cpu state. */
|
||||
GICD[GICD_ICENABLER] = 0xffff0000; /* Disable all PPI */
|
||||
GICD[GICD_ISENABLER] = 0x0000ffff; /* Enable all SGI */
|
||||
/* Set PPI and SGI priorities */
|
||||
|
||||