Searched refs:GIC_NCPU (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/include/hw/intc/ |
H A D | arm_gic_common.h | 33 #define GIC_NCPU 8 macro 35 #define GIC_NCPU_VCPU (GIC_NCPU * 2) 70 qemu_irq parent_irq[GIC_NCPU]; 71 qemu_irq parent_fiq[GIC_NCPU]; 72 qemu_irq parent_virq[GIC_NCPU]; 73 qemu_irq parent_vfiq[GIC_NCPU]; 74 qemu_irq parent_nmi[GIC_NCPU]; 75 qemu_irq parent_vnmi[GIC_NCPU]; 76 qemu_irq maintenance_irq[GIC_NCPU]; 89 uint8_t priority1[GIC_INTERNAL][GIC_NCPU]; [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gic_common.c | 84 VMSTATE_UINT32_ARRAY(h_hcr, GICState, GIC_NCPU), 85 VMSTATE_UINT32_ARRAY(h_misr, GICState, GIC_NCPU), 86 VMSTATE_UINT32_2DARRAY(h_lr, GICState, GIC_MAX_LR, GIC_NCPU), 87 VMSTATE_UINT32_ARRAY(h_apr, GICState, GIC_NCPU), 90 VMSTATE_UINT32_SUB_ARRAY(cpu_ctlr, GICState, GIC_NCPU, GIC_NCPU), 91 VMSTATE_UINT16_SUB_ARRAY(priority_mask, GICState, GIC_NCPU, GIC_NCPU), 92 VMSTATE_UINT16_SUB_ARRAY(running_priority, GICState, GIC_NCPU, GIC_NCPU), 93 VMSTATE_UINT16_SUB_ARRAY(current_pending, GICState, GIC_NCPU, GIC_NCPU), 94 VMSTATE_UINT8_SUB_ARRAY(bpr, GICState, GIC_NCPU, GIC_NCPU), 95 VMSTATE_UINT8_SUB_ARRAY(abpr, GICState, GIC_NCPU, GIC_NCPU), [all …]
|
H A D | gic_internal.h | 27 #define ALL_CPU_MASK ((unsigned)(((1 << GIC_NCPU) - 1))) 183 return cpu >= GIC_NCPU; in gic_is_vcpu() 188 return (cpu >= GIC_NCPU) ? (cpu - GIC_NCPU) : cpu; in gic_get_vcpu_real_id()
|
H A D | arm_gic.c | 69 return gic_get_current_cpu(s) + GIC_NCPU; in gic_get_current_vcpu() 145 int cpu_iface = virt ? (cpu + GIC_NCPU) : cpu; in gic_irq_signaling_enabled() 175 cpu_iface = virt ? (cpu + GIC_NCPU) : cpu; in gic_update_internal() 279 int vcpu = cpu + GIC_NCPU; in gic_compute_misr() 1527 while (target_cpu < GIC_NCPU) { in gic_dist_writel() 1913 int vcpu = cpu + GIC_NCPU; in gic_hyp_read() 1981 int vcpu = cpu + GIC_NCPU; in gic_hyp_write() 2057 return gic_hyp_write(s, id + GIC_NCPU, addr, value, attrs); in gic_do_hyp_write()
|
/openbmc/qemu/hw/arm/ |
H A D | virt.c | 1923 max_cpus <= GIC_NCPU) { in finalize_gic_version_do() 1932 } else if (max_cpus > GIC_NCPU) { in finalize_gic_version_do() 2183 virt_max_cpus = GIC_NCPU; in machvirt_init()
|