![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /usr/src/kernels/4.18.0-553.50.1.el8_10.x86_64/include/linux/irqchip/ |
/* SPDX-License-Identifier: GPL-2.0-only */ /* * include/linux/irqchip/arm-vgic-info.h * * Copyright (C) 2016 ARM Limited, All Rights Reserved. */ #ifndef __LINUX_IRQCHIP_ARM_VGIC_INFO_H #define __LINUX_IRQCHIP_ARM_VGIC_INFO_H #include <linux/types.h> #include <linux/ioport.h> enum gic_type { /* Full GICv2 */ GIC_V2, /* Full GICv3, optionally with v2 compat */ GIC_V3, }; struct gic_kvm_info { /* GIC type */ enum gic_type type; /* Virtual CPU interface */ struct resource vcpu; /* Interrupt number */ unsigned int maint_irq; /* Virtual control interface */ struct resource vctrl; /* vlpi support */ bool has_v4; /* rvpeid support */ bool has_v4_1; }; #ifdef CONFIG_KVM void vgic_set_kvm_info(const struct gic_kvm_info *info); #else static inline void vgic_set_kvm_info(const struct gic_kvm_info *info) {} #endif #endif