Searched refs:irq_delegated (Results 1 – 1 of 1) sorted by relevance
505 uint64_t vsbits, irq_delegated; in riscv_cpu_local_irq_pending() local546 irq_delegated = pending & env->mideleg & env->hideleg; in riscv_cpu_local_irq_pending()549 vsbits = irq_delegated & VS_MODE_INTERRUPTS; in riscv_cpu_local_irq_pending()550 irq_delegated &= ~VS_MODE_INTERRUPTS; in riscv_cpu_local_irq_pending()551 irq_delegated |= vsbits >> 1; in riscv_cpu_local_irq_pending()553 irqs = (irq_delegated | irqs_f_vs) & -vsie; in riscv_cpu_local_irq_pending()