KVM
|
#include <linux/irqchip/arm-gic.h>
#include <linux/kvm.h>
#include <linux/kvm_host.h>
#include <linux/nospec.h>
#include <kvm/iodev.h>
#include <kvm/arm_vgic.h>
#include "vgic.h"
#include "vgic-mmio.h"
Go to the source code of this file.
Macros | |
#define | GICC_ARCH_VERSION_V2 0x2 |
Functions | |
static unsigned long | vgic_mmio_read_v2_misc (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len) |
static void | vgic_mmio_write_v2_misc (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len, unsigned long val) |
static int | vgic_mmio_uaccess_write_v2_misc (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len, unsigned long val) |
static int | vgic_mmio_uaccess_write_v2_group (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len, unsigned long val) |
static void | vgic_mmio_write_sgir (struct kvm_vcpu *source_vcpu, gpa_t addr, unsigned int len, unsigned long val) |
static unsigned long | vgic_mmio_read_target (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len) |
static void | vgic_mmio_write_target (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len, unsigned long val) |
static unsigned long | vgic_mmio_read_sgipend (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len) |
static void | vgic_mmio_write_sgipendc (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len, unsigned long val) |
static void | vgic_mmio_write_sgipends (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len, unsigned long val) |
static unsigned long | vgic_mmio_read_vcpuif (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len) |
static void | vgic_mmio_write_vcpuif (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len, unsigned long val) |
static unsigned long | vgic_mmio_read_apr (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len) |
static void | vgic_mmio_write_apr (struct kvm_vcpu *vcpu, gpa_t addr, unsigned int len, unsigned long val) |
unsigned int | vgic_v2_init_dist_iodev (struct vgic_io_device *dev) |
int | vgic_v2_has_attr_regs (struct kvm_device *dev, struct kvm_device_attr *attr) |
int | vgic_v2_cpuif_uaccess (struct kvm_vcpu *vcpu, bool is_write, int offset, u32 *val) |
int | vgic_v2_dist_uaccess (struct kvm_vcpu *vcpu, bool is_write, int offset, u32 *val) |
Variables | |
static const struct vgic_register_region | vgic_v2_dist_registers [] |
static const struct vgic_register_region | vgic_v2_cpu_registers [] |
#define GICC_ARCH_VERSION_V2 0x2 |
Definition at line 272 of file vgic-mmio-v2.c.
|
static |
Definition at line 362 of file vgic-mmio-v2.c.
|
static |
Definition at line 208 of file vgic-mmio-v2.c.
|
static |
|
static |
Definition at line 25 of file vgic-mmio-v2.c.
|
static |
Definition at line 275 of file vgic-mmio-v2.c.
|
static |
Definition at line 110 of file vgic-mmio-v2.c.
|
static |
Definition at line 72 of file vgic-mmio-v2.c.
|
static |
|
static |
|
static |
Definition at line 247 of file vgic-mmio-v2.c.
|
static |
|
static |
|
static |
Definition at line 52 of file vgic-mmio-v2.c.
|
static |
Definition at line 322 of file vgic-mmio-v2.c.
int vgic_v2_cpuif_uaccess | ( | struct kvm_vcpu * | vcpu, |
bool | is_write, | ||
int | offset, | ||
u32 * | val | ||
) |
Definition at line 539 of file vgic-mmio-v2.c.
int vgic_v2_dist_uaccess | ( | struct kvm_vcpu * | vcpu, |
bool | is_write, | ||
int | offset, | ||
u32 * | val | ||
) |
Definition at line 551 of file vgic-mmio-v2.c.
int vgic_v2_has_attr_regs | ( | struct kvm_device * | dev, |
struct kvm_device_attr * | attr | ||
) |
Definition at line 497 of file vgic-mmio-v2.c.
unsigned int vgic_v2_init_dist_iodev | ( | struct vgic_io_device * | dev | ) |
Definition at line 487 of file vgic-mmio-v2.c.
|
static |
Definition at line 387 of file vgic-mmio-v2.c.
|
static |
Definition at line 387 of file vgic-mmio-v2.c.