/* * Copyright (C) 2012-2015 - ARM Ltd * Author: Marc Zyngier <marc.zyngier@arm.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <linux/compiler.h> #include <linux/irqchip/arm-gic.h> #include <linux/kvm_host.h> #include <linux/swab.h> #include <asm/kvm_emulate.h> #include <asm/kvm_hyp.h> #include <asm/kvm_mmu.h>
static bool __hyp_text __is_be(struct kvm_vcpu *vcpu) { if (vcpu_mode_is_32bit(vcpu)) return !!(read_sysreg_el2(spsr) & COMPAT_PSR_E_BIT); return !!(read_sysreg(SCTLR_EL1) & SCTLR_ELx_EE); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
James Morse | 43 | 100.00% | 1 | 100.00% |
Total | 43 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Marc Zyngier | 193 | 85.78% | 5 | 83.33% |
James Morse | 32 | 14.22% | 1 | 16.67% |
Total | 225 | 100.00% | 6 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Marc Zyngier | 213 | 73.20% | 8 | 88.89% |
James Morse | 78 | 26.80% | 1 | 11.11% |
Total | 291 | 100.00% | 9 | 100.00% |