![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-only */ 0002 /* 0003 * Trap handler helpers. 0004 * 0005 * Copyright (C) 2020 - Google LLC 0006 * Author: Marc Zyngier <maz@kernel.org> 0007 */ 0008 0009 #ifndef __ARM64_KVM_NVHE_TRAP_HANDLER_H__ 0010 #define __ARM64_KVM_NVHE_TRAP_HANDLER_H__ 0011 0012 #include <asm/kvm_host.h> 0013 0014 #define cpu_reg(ctxt, r) (ctxt)->regs.regs[r] 0015 #define DECLARE_REG(type, name, ctxt, reg) \ 0016 type name = (type)cpu_reg(ctxt, (reg)) 0017 0018 void __pkvm_vcpu_init_traps(struct kvm_vcpu *vcpu); 0019 0020 #endif /* __ARM64_KVM_NVHE_TRAP_HANDLER_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |