helper.c (32b3a0c90095f4b5b453e72c2a3a25964ef04640) helper.c (f4f318b41abe76a68ec1d616744ab9d6ec839abc)
1/*
2 * ARM generic helpers.
3 *
4 * This code is licensed under the GNU GPL v2 or later.
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8

--- 16 unchanged lines hidden (view full) ---

25#include "sysemu/kvm.h"
26#include "sysemu/tcg.h"
27#include "qapi/error.h"
28#include "qemu/guest-random.h"
29#ifdef CONFIG_TCG
30#include "semihosting/common-semi.h"
31#endif
32#include "cpregs.h"
1/*
2 * ARM generic helpers.
3 *
4 * This code is licensed under the GNU GPL v2 or later.
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8

--- 16 unchanged lines hidden (view full) ---

25#include "sysemu/kvm.h"
26#include "sysemu/tcg.h"
27#include "qapi/error.h"
28#include "qemu/guest-random.h"
29#ifdef CONFIG_TCG
30#include "semihosting/common-semi.h"
31#endif
32#include "cpregs.h"
33#include "target/arm/gtimer.h"
33
34#define ARM_CPU_FREQ 1000000000 /* FIXME: 1 GHz, should be configurable */
35
36static void switch_mode(CPUARMState *env, int mode);
37
38static uint64_t raw_read(CPUARMState *env, const ARMCPRegInfo *ri)
39{
40 assert(ri->fieldoffset);

--- 12563 unchanged lines hidden ---
34
35#define ARM_CPU_FREQ 1000000000 /* FIXME: 1 GHz, should be configurable */
36
37static void switch_mode(CPUARMState *env, int mode);
38
39static uint64_t raw_read(CPUARMState *env, const ARMCPRegInfo *ri)
40{
41 assert(ri->fieldoffset);

--- 12563 unchanged lines hidden ---