xref: /openbmc/qemu/target/arm/gtimer.h (revision f4f318b4)
1 /*
2  * ARM generic timer definitions for Arm A-class CPU
3  *
4  *  Copyright (c) 2003 Fabrice Bellard
5  *
6  * SPDX-License-Identifier: LGPL-2.1-or-later
7  */
8 
9 #ifndef TARGET_ARM_GTIMER_H
10 #define TARGET_ARM_GTIMER_H
11 
12 enum {
13     GTIMER_PHYS     = 0,
14     GTIMER_VIRT     = 1,
15     GTIMER_HYP      = 2,
16     GTIMER_SEC      = 3,
17     GTIMER_HYPVIRT  = 4,
18 #define NUM_GTIMERS   5
19 };
20 
21 #endif
22