cpu.h (2161a612b4e1d388046320bc464adefd6bba01a0) | cpu.h (29a0af618ddd21f55df5753c3e16b0625f534b3c) |
---|---|
1/* 2 * MicroBlaze virtual CPU header 3 * 4 * Copyright (c) 2009 Edgar E. Iglesias 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 --- 301 unchanged lines hidden (view full) --- 310 CPUMBState env; 311}; 312 313static inline MicroBlazeCPU *mb_env_get_cpu(CPUMBState *env) 314{ 315 return container_of(env, MicroBlazeCPU, env); 316} 317 | 1/* 2 * MicroBlaze virtual CPU header 3 * 4 * Copyright (c) 2009 Edgar E. Iglesias 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 --- 301 unchanged lines hidden (view full) --- 310 CPUMBState env; 311}; 312 313static inline MicroBlazeCPU *mb_env_get_cpu(CPUMBState *env) 314{ 315 return container_of(env, MicroBlazeCPU, env); 316} 317 |
318#define ENV_GET_CPU(e) CPU(mb_env_get_cpu(e)) 319 | |
320#define ENV_OFFSET offsetof(MicroBlazeCPU, env) 321 322void mb_cpu_do_interrupt(CPUState *cs); 323bool mb_cpu_exec_interrupt(CPUState *cs, int int_req); 324void mb_cpu_dump_state(CPUState *cpu, FILE *f, int flags); 325hwaddr mb_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr); 326int mb_cpu_gdb_read_register(CPUState *cpu, uint8_t *buf, int reg); 327int mb_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg); --- 62 unchanged lines hidden --- | 318#define ENV_OFFSET offsetof(MicroBlazeCPU, env) 319 320void mb_cpu_do_interrupt(CPUState *cs); 321bool mb_cpu_exec_interrupt(CPUState *cs, int int_req); 322void mb_cpu_dump_state(CPUState *cpu, FILE *f, int flags); 323hwaddr mb_cpu_get_phys_page_debug(CPUState *cpu, vaddr addr); 324int mb_cpu_gdb_read_register(CPUState *cpu, uint8_t *buf, int reg); 325int mb_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg); --- 62 unchanged lines hidden --- |