KVM
|
Go to the source code of this file.
Classes | |
struct | dest_map |
struct | rtc_status |
union | kvm_ioapic_redirect_entry |
struct | kvm_ioapic |
Macros | |
#define | IOAPIC_NUM_PINS KVM_IOAPIC_NUM_PINS |
#define | MAX_NR_RESERVED_IOAPIC_PINS KVM_MAX_IRQ_ROUTES |
#define | IOAPIC_VERSION_ID 0x11 /* IOAPIC version */ |
#define | IOAPIC_EDGE_TRIG 0 |
#define | IOAPIC_LEVEL_TRIG 1 |
#define | IOAPIC_DEFAULT_BASE_ADDRESS 0xfec00000 |
#define | IOAPIC_MEM_LENGTH 0x100 |
#define | IOAPIC_REG_SELECT 0x00 |
#define | IOAPIC_REG_WINDOW 0x10 |
#define | IOAPIC_REG_APIC_ID 0x00 /* x86 IOAPIC only */ |
#define | IOAPIC_REG_VERSION 0x01 |
#define | IOAPIC_REG_ARB_ID 0x02 /* x86 IOAPIC only */ |
#define | IOAPIC_FIXED 0x0 |
#define | IOAPIC_LOWEST_PRIORITY 0x1 |
#define | IOAPIC_PMI 0x2 |
#define | IOAPIC_NMI 0x4 |
#define | IOAPIC_INIT 0x5 |
#define | IOAPIC_EXTINT 0x7 |
#define | RTC_GSI 8 |
#define | ASSERT(x) do { } while (0) |
Functions | |
static int | ioapic_in_kernel (struct kvm *kvm) |
void | kvm_rtc_eoi_tracking_restore_one (struct kvm_vcpu *vcpu) |
void | kvm_ioapic_update_eoi (struct kvm_vcpu *vcpu, int vector, int trigger_mode) |
int | kvm_ioapic_init (struct kvm *kvm) |
void | kvm_ioapic_destroy (struct kvm *kvm) |
int | kvm_ioapic_set_irq (struct kvm_ioapic *ioapic, int irq, int irq_source_id, int level, bool line_status) |
void | kvm_ioapic_clear_all (struct kvm_ioapic *ioapic, int irq_source_id) |
void | kvm_get_ioapic (struct kvm *kvm, struct kvm_ioapic_state *state) |
void | kvm_set_ioapic (struct kvm *kvm, struct kvm_ioapic_state *state) |
void | kvm_ioapic_scan_entry (struct kvm_vcpu *vcpu, ulong *ioapic_handled_vectors) |
void | kvm_scan_ioapic_routes (struct kvm_vcpu *vcpu, ulong *ioapic_handled_vectors) |
|
inlinestatic |
void kvm_get_ioapic | ( | struct kvm * | kvm, |
struct kvm_ioapic_state * | state | ||
) |
Definition at line 755 of file ioapic.c.
void kvm_ioapic_clear_all | ( | struct kvm_ioapic * | ioapic, |
int | irq_source_id | ||
) |
void kvm_ioapic_destroy | ( | struct kvm * | kvm | ) |
Definition at line 740 of file ioapic.c.
int kvm_ioapic_init | ( | struct kvm * | kvm | ) |
Definition at line 714 of file ioapic.c.
void kvm_ioapic_scan_entry | ( | struct kvm_vcpu * | vcpu, |
ulong * | ioapic_handled_vectors | ||
) |
Definition at line 278 of file ioapic.c.
int kvm_ioapic_set_irq | ( | struct kvm_ioapic * | ioapic, |
int | irq, | ||
int | irq_source_id, | ||
int | level, | ||
bool | line_status | ||
) |
Definition at line 485 of file ioapic.c.
void kvm_ioapic_update_eoi | ( | struct kvm_vcpu * | vcpu, |
int | vector, | ||
int | trigger_mode | ||
) |
Definition at line 579 of file ioapic.c.
void kvm_rtc_eoi_tracking_restore_one | ( | struct kvm_vcpu * | vcpu | ) |
Definition at line 139 of file ioapic.c.
void kvm_scan_ioapic_routes | ( | struct kvm_vcpu * | vcpu, |
ulong * | ioapic_handled_vectors | ||
) |
Definition at line 412 of file irq_comm.c.
void kvm_set_ioapic | ( | struct kvm * | kvm, |
struct kvm_ioapic_state * | state | ||
) |
Definition at line 765 of file ioapic.c.