/* * File : gic.h, ARM Generic Interrupt Controller * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2013, RT-Thread Develop Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date Author Notes * 2013-07-20 Bernard first version */#ifndef __GIC_H__#define __GIC_H__intarm_gic_dist_init(rt_uint32_tindex,rt_uint32_tdist_base,intirq_start);intarm_gic_cpu_init(rt_uint32_tindex,rt_uint32_tcpu_base);voidarm_gic_mask(rt_uint32_tindex,intirq);voidarm_gic_umask(rt_uint32_tindex,intirq);voidarm_gic_set_cpu(rt_uint32_tindex,intirq,unsignedintcpumask);voidarm_gic_set_group(rt_uint32_tindex,intvector,intgroup);intarm_gic_get_active_irq(rt_uint32_tindex);voidarm_gic_ack(rt_uint32_tindex,intirq);voidarm_gic_trigger(rt_uint32_tindex,inttarget_cpu,intirq);voidarm_gic_clear_sgi(rt_uint32_tindex,inttarget_cpu,intirq);voidarm_gic_dump_type(rt_uint32_tindex);#endif