cpu.h (2161a612b4e1d388046320bc464adefd6bba01a0) | cpu.h (29a0af618ddd21f55df5753c3e16b0625f534b3c) |
---|---|
1/* 2 * PA-RISC emulation cpu definitions for qemu. 3 * 4 * Copyright (c) 2016 Richard Henderson <rth@twiddle.net> 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 --- 213 unchanged lines hidden (view full) --- 222 QEMUTimer *alarm_timer; 223}; 224 225static inline HPPACPU *hppa_env_get_cpu(CPUHPPAState *env) 226{ 227 return container_of(env, HPPACPU, env); 228} 229 | 1/* 2 * PA-RISC emulation cpu definitions for qemu. 3 * 4 * Copyright (c) 2016 Richard Henderson <rth@twiddle.net> 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 --- 213 unchanged lines hidden (view full) --- 222 QEMUTimer *alarm_timer; 223}; 224 225static inline HPPACPU *hppa_env_get_cpu(CPUHPPAState *env) 226{ 227 return container_of(env, HPPACPU, env); 228} 229 |
230#define ENV_GET_CPU(e) CPU(hppa_env_get_cpu(e)) | |
231#define ENV_OFFSET offsetof(HPPACPU, env) 232 233typedef CPUHPPAState CPUArchState; 234typedef HPPACPU ArchCPU; 235 236#include "exec/cpu-all.h" 237 238static inline int cpu_mmu_index(CPUHPPAState *env, bool ifetch) --- 117 unchanged lines hidden --- | 230#define ENV_OFFSET offsetof(HPPACPU, env) 231 232typedef CPUHPPAState CPUArchState; 233typedef HPPACPU ArchCPU; 234 235#include "exec/cpu-all.h" 236 237static inline int cpu_mmu_index(CPUHPPAState *env, bool ifetch) --- 117 unchanged lines hidden --- |