cpu.h (2161a612b4e1d388046320bc464adefd6bba01a0) cpu.h (29a0af618ddd21f55df5753c3e16b0625f534b3c)
1/*
2 * Alpha emulation cpu definitions for qemu.
3 *
4 * Copyright (c) 2007 Jocelyn Mayer
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

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

278 QEMUTimer *alarm_timer;
279};
280
281static inline AlphaCPU *alpha_env_get_cpu(CPUAlphaState *env)
282{
283 return container_of(env, AlphaCPU, env);
284}
285
1/*
2 * Alpha emulation cpu definitions for qemu.
3 *
4 * Copyright (c) 2007 Jocelyn Mayer
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either

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

278 QEMUTimer *alarm_timer;
279};
280
281static inline AlphaCPU *alpha_env_get_cpu(CPUAlphaState *env)
282{
283 return container_of(env, AlphaCPU, env);
284}
285
286#define ENV_GET_CPU(e) CPU(alpha_env_get_cpu(e))
287
288#define ENV_OFFSET offsetof(AlphaCPU, env)
289
290#ifndef CONFIG_USER_ONLY
291extern const struct VMStateDescription vmstate_alpha_cpu;
292#endif
293
294void alpha_cpu_do_interrupt(CPUState *cpu);
295bool alpha_cpu_exec_interrupt(CPUState *cpu, int int_req);

--- 231 unchanged lines hidden ---
286#define ENV_OFFSET offsetof(AlphaCPU, env)
287
288#ifndef CONFIG_USER_ONLY
289extern const struct VMStateDescription vmstate_alpha_cpu;
290#endif
291
292void alpha_cpu_do_interrupt(CPUState *cpu);
293bool alpha_cpu_exec_interrupt(CPUState *cpu, int int_req);

--- 231 unchanged lines hidden ---