MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / gicv2_init

Function gicv2_init

components/drivers/pic/pic-gicv2.c:561–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559}
560
561static void gicv2_init(struct gicv2 *gic)
562{
563 gicv2_dist_init(gic);
564
565 gic->parent.priv_data = gic;
566 gic->parent.ops = &gicv2_ops;
567
568 rt_pic_linear_irq(&gic->parent, gic->max_irq + 1 - GIC_SGI_NR);
569 gic_common_sgi_config(gic->dist_base, &gic->parent, _gicv2_nr * GIC_SGI_NR);
570
571 rt_pic_add_traps(gicv2_handler, gic);
572
573 rt_pic_user_extends(&gic->parent);
574}
575
576static void gicv2_init_fail(struct gicv2 *gic)
577{

Callers 1

gicv2_ofw_initFunction · 0.85

Calls 5

gicv2_dist_initFunction · 0.85
rt_pic_linear_irqFunction · 0.85
gic_common_sgi_configFunction · 0.85
rt_pic_add_trapsFunction · 0.85
rt_pic_user_extendsFunction · 0.85

Tested by

no test coverage detected