root/arch/arm/kvm/vgic-v3-coproc.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. vgic_v3_has_cpu_sysregs_attr
  2. vgic_v3_cpu_sysregs_uaccess

   1 // SPDX-License-Identifier: GPL-2.0-only
   2 /*
   3  * VGIC system registers handling functions for AArch32 mode
   4  */
   5 
   6 #include <linux/kvm.h>
   7 #include <linux/kvm_host.h>
   8 #include <asm/kvm_emulate.h>
   9 #include "vgic.h"
  10 
  11 int vgic_v3_has_cpu_sysregs_attr(struct kvm_vcpu *vcpu, bool is_write, u64 id,
  12                                  u64 *reg)
  13 {
  14         /*
  15          * TODO: Implement for AArch32
  16          */
  17         return -ENXIO;
  18 }
  19 
  20 int vgic_v3_cpu_sysregs_uaccess(struct kvm_vcpu *vcpu, bool is_write, u64 id,
  21                                 u64 *reg)
  22 {
  23         /*
  24          * TODO: Implement for AArch32
  25          */
  26         return -ENXIO;
  27 }

/* [<][>][^][v][top][bottom][index][help] */