1 /* SPDX-License-Identifier: GPL-2.0-only */ << 2 /* 1 /* 3 * include/linux/irqchip/arm-gic-common.h 2 * include/linux/irqchip/arm-gic-common.h 4 * 3 * 5 * Copyright (C) 2016 ARM Limited, All Rights 4 * Copyright (C) 2016 ARM Limited, All Rights Reserved. >> 5 * >> 6 * This program is free software; you can redistribute it and/or modify >> 7 * it under the terms of the GNU General Public License version 2 as >> 8 * published by the Free Software Foundation. 6 */ 9 */ 7 #ifndef __LINUX_IRQCHIP_ARM_GIC_COMMON_H 10 #ifndef __LINUX_IRQCHIP_ARM_GIC_COMMON_H 8 #define __LINUX_IRQCHIP_ARM_GIC_COMMON_H 11 #define __LINUX_IRQCHIP_ARM_GIC_COMMON_H 9 12 10 #include <linux/irqchip/arm-vgic-info.h> !! 13 #include <linux/types.h> >> 14 #include <linux/ioport.h> >> 15 >> 16 enum gic_type { >> 17 GIC_V2, >> 18 GIC_V3, >> 19 }; 11 20 12 #define GICD_INT_DEF_PRI 0xa0 !! 21 struct gic_kvm_info { >> 22 /* GIC type */ >> 23 enum gic_type type; >> 24 /* Virtual CPU interface */ >> 25 struct resource vcpu; >> 26 /* Interrupt number */ >> 27 unsigned int maint_irq; >> 28 /* Virtual control interface */ >> 29 struct resource vctrl; >> 30 /* vlpi support */ >> 31 bool has_v4; >> 32 }; 13 33 14 struct irq_domain; !! 34 const struct gic_kvm_info *gic_get_kvm_info(void); 15 struct fwnode_handle; << 16 int gicv2m_init(struct fwnode_handle *parent_h << 17 struct irq_domain *parent); << 18 35 19 #endif /* __LINUX_IRQCHIP_ARM_GIC_COMMON_H */ 36 #endif /* __LINUX_IRQCHIP_ARM_GIC_COMMON_H */ 20 37
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.