Madhukar Pappireddy | def48d0 | 2024-10-04 21:13:23 -0500 | [diff] [blame] | 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 | |
Madhukar Pappireddy | a3787c9 | 2024-09-25 14:50:36 -0500 | [diff] [blame^] | 11 | #include "hf/arch/types.h" |
| 12 | |
Madhukar Pappireddy | def48d0 | 2024-10-04 21:13:23 -0500 | [diff] [blame] | 13 | #include "hf/vcpu.h" |
| 14 | |
| 15 | void host_timer_disable(void); |
| 16 | void host_timer_init(void); |
Madhukar Pappireddy | a3787c9 | 2024-09-25 14:50:36 -0500 | [diff] [blame^] | 17 | void host_timer_save_arch_timer(struct timer_state *timer); |
| 18 | void host_timer_track_deadline(struct timer_state *timer); |