blob: f41abf76366f59740188aec0c9168d562b89d498 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001/*
2 * VGIC system registers handling functions for AArch32 mode
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#include <linux/kvm.h>
15#include <linux/kvm_host.h>
16#include <asm/kvm_emulate.h>
17#include "vgic.h"
18
19int vgic_v3_has_cpu_sysregs_attr(struct kvm_vcpu *vcpu, bool is_write, u64 id,
20 u64 *reg)
21{
22 /*
23 * TODO: Implement for AArch32
24 */
25 return -ENXIO;
26}
27
28int vgic_v3_cpu_sysregs_uaccess(struct kvm_vcpu *vcpu, bool is_write, u64 id,
29 u64 *reg)
30{
31 /*
32 * TODO: Implement for AArch32
33 */
34 return -ENXIO;
35}