1 /* 2 * Copyright 2019 The Hafnium Authors. 3 * 4 * Use of this source code is governed by a BSD-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/BSD-3-Clause. 7 */ 8 9 #pragma once 10 11 #include "hf/arch/types.h" 12 13 #include "hf/cpu.h" 14 15 #include "vmapi/hf/ffa.h" 16 17 bool debug_el1_is_register_access(uintreg_t esr_el2); 18 19 bool debug_el1_process_access(struct vcpu *vcpu, ffa_vm_id_t vm_id, 20 uintreg_t esr_el2); 21