aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/arm/setup.c
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@linaro.org>2013-04-26 17:58:18 +0100
committerIan Campbell <ian.campbell@citrix.com>2013-05-13 11:59:58 +0100
commitcd025772d02d5ff98b5a6141b8a424a305720648 (patch)
tree8c8e8345f731612cd0fde555654f62aa4d09cf62 /xen/arch/arm/setup.c
parent13bd8be39c077d1da3268f67837c0a0353accf89 (diff)
downloadxen-cd025772d02d5ff98b5a6141b8a424a305720648.tar.gz
xen-cd025772d02d5ff98b5a6141b8a424a305720648.tar.bz2
xen-cd025772d02d5ff98b5a6141b8a424a305720648.zip
xen/arm: Introduce gic_irq_xlate
This function translates an interrupt specifier to an IRQ number and IRQ type (ie: level trigger, edge trigger,...). It's GIC specific. Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/arch/arm/setup.c')
-rw-r--r--xen/arch/arm/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
index 81bc956013..fc53117164 100644
--- a/xen/arch/arm/setup.c
+++ b/xen/arch/arm/setup.c
@@ -431,6 +431,7 @@ void __init start_xen(unsigned long boot_phys_offset,
vm_init();
dt_unflatten_host_device_tree();
+ dt_irq_xlate = gic_irq_xlate;
#ifdef EARLY_UART_ADDRESS
/* TODO Need to get device tree or command line for UART address */