cpu.h (2161a612b4e1d388046320bc464adefd6bba01a0) cpu.h (29a0af618ddd21f55df5753c3e16b0625f534b3c)
1/*
2 * m68k virtual CPU header
3 *
4 * Copyright (c) 2005-2007 CodeSourcery
5 * Written by Paul Brook
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public

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

163 CPUM68KState env;
164};
165
166static inline M68kCPU *m68k_env_get_cpu(CPUM68KState *env)
167{
168 return container_of(env, M68kCPU, env);
169}
170
1/*
2 * m68k virtual CPU header
3 *
4 * Copyright (c) 2005-2007 CodeSourcery
5 * Written by Paul Brook
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public

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

163 CPUM68KState env;
164};
165
166static inline M68kCPU *m68k_env_get_cpu(CPUM68KState *env)
167{
168 return container_of(env, M68kCPU, env);
169}
170
171#define ENV_GET_CPU(e) CPU(m68k_env_get_cpu(e))
172
173#define ENV_OFFSET offsetof(M68kCPU, env)
174
175void m68k_cpu_do_interrupt(CPUState *cpu);
176bool m68k_cpu_exec_interrupt(CPUState *cpu, int int_req);
177void m68k_cpu_dump_state(CPUState *cpu, FILE *f, int flags);
178hwaddr m68k_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr);
179int m68k_cpu_gdb_read_register(CPUState *cpu, uint8_t *buf, int reg);
180int m68k_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg);

--- 388 unchanged lines hidden ---
171#define ENV_OFFSET offsetof(M68kCPU, env)
172
173void m68k_cpu_do_interrupt(CPUState *cpu);
174bool m68k_cpu_exec_interrupt(CPUState *cpu, int int_req);
175void m68k_cpu_dump_state(CPUState *cpu, FILE *f, int flags);
176hwaddr m68k_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr);
177int m68k_cpu_gdb_read_register(CPUState *cpu, uint8_t *buf, int reg);
178int m68k_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg);

--- 388 unchanged lines hidden ---