gem5
|
These methods control interrupt delivery to the guest system. More...
Functions | |
void | BaseKvmCPU::kvmNonMaskableInterrupt () |
Send a non-maskable interrupt to the guest. More... | |
void | BaseKvmCPU::kvmInterrupt (const struct kvm_interrupt &interrupt) |
Send a normal interrupt to the guest. More... | |
void | KvmVM::createIRQChip () |
Create an in-kernel interrupt controller. More... | |
void | KvmVM::setIRQLine (uint32_t irq, bool high) |
Set the status of an IRQ line using KVM_IRQ_LINE. More... | |
bool | KvmVM::hasKernelIRQChip () const |
Is in-kernel IRQ chip emulation enabled? More... | |
These methods control interrupt delivery to the guest system.
void KvmVM::createIRQChip | ( | ) |
Create an in-kernel interrupt controller.
Definition at line 487 of file vm.cc.
References KvmVM::_hasKernelIRQChip, KvmVM::ioctl(), panic, and warn.
|
inline |
Is in-kernel IRQ chip emulation enabled?
Definition at line 353 of file vm.hh.
References KvmVM::_hasKernelIRQChip.
|
protected |
Send a normal interrupt to the guest.
interrupt | Structure describing the interrupt to send |
Definition at line 829 of file base.cc.
References BaseKvmCPU::ioctl(), BaseKvmCPU::numInterrupts, and panic.
Referenced by X86KvmCPU::deliverInterrupts().
|
protected |
Send a non-maskable interrupt to the guest.
Definition at line 821 of file base.cc.
References BaseKvmCPU::ioctl(), BaseKvmCPU::numInterrupts, and panic.
Referenced by X86KvmCPU::deliverInterrupts().
void KvmVM::setIRQLine | ( | uint32_t | irq, |
bool | high | ||
) |
Set the status of an IRQ line using KVM_IRQ_LINE.
irq | Interrupt number |
high | Line level (true for high, false for low) |
Definition at line 502 of file vm.cc.
References KvmVM::ioctl(), ArmISA::irq, and panic.
Referenced by BaseArmKvmCPU::kvmRun(), ArmKvmCPU::kvmRun(), and KvmKernelGicV2::setIntState().