1 /* 2 * Copyright 2024 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 el1_physical_timer_is_register_access(uintreg_t esr); 18 19 bool el1_physical_timer_process_access(struct vcpu *vcpu, uintreg_t esr); 20